<subsystem xmlns="urn:jboss:domain:remoting:3.0">
<connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
<outbound-connections>
<remote-outbound-connection name="cluster-connection" outbound-socket-binding-ref="cluster" username="admin" password="password"/>
</outbound-connections>
<remote-destination name="remote-destination" outbound-socket-binding-ref="remote-server"/>
</subsystem>