Does this make sense?

remote-destination... -> localhost?

[standalone@localhost:9999 /] /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=mail-smtp:read-resource
{
    "outcome" => "success",
    "result" => {
        "fixed-source-port" => false,
        "host" => "localhost",
        "port" => 25
    }
}





In general, why do we have "remote-destination-outbound-socket-binding" and "local-destination-outbound-socket-binding"?
Seems pretty awkward to me. Both the name and the separation.

Why not:

outbound-socket-binding {type=<local/remote>} ?

Ike