ee/src/main/java/org/jboss/as/ee/metadata/EJBClientDescriptorMetaData.java
public RemotingReceiverConfiguration addRemotingReceiverConnectionRef(final String outboundConnectionRef) {
        if (outboundConnectionRef == null || outboundConnectionRef.trim().isEmpty()) {
            throw new IllegalArgumentException("Cannot add a remoting receiver which references a null/empty outbound connection");
        }
        final RemotingReceiverConfiguration remotingReceiverConfiguration = new RemotingReceiverConfiguration(outboundConnectionRef);
        this.remotingReceiverConfigurations.put(outboundConnectionRef, remotingReceiverConfiguration);
        return remotingReceiverConfiguration;
    }
public RemotingReceiverConfiguration addRemotingReceiverConnectionRef(final String outboundConnectionRef) {
        if (outboundConnectionRef == null || outboundConnectionRef.trim().isEmpty()) {
            throw new IllegalArgumentException("Cannot add a remoting receiver which references a null/empty outbound connection");
        }
        final RemotingReceiverConfiguration remotingReceiverConfiguration = new RemotingReceiverConfiguration(outboundConnectionRef);
        this.remotingReceiverConfigurations.put(outboundConnectionRef, remotingReceiverConfiguration);
        return remotingReceiverConfiguration;
    }
public RemotingReceiverConfiguration addRemotingReceiverConnectionRef ( final String outboundConnectionRef ) { if ( outboundConnectionRef == null || outboundConnectionRef . trim ( ) . isEmpty ( ) ) { throw new IllegalArgumentException ( "Cannot add a remoting receiver which references a null/empty outbound connection" ) ; } final RemotingReceiverConfiguration remotingReceiverConfiguration = new RemotingReceiverConfiguration ( outboundConnectionRef ) ; this . remotingReceiverConfigurations . put ( outboundConnectionRef , remotingReceiverConfiguration ) ; return remotingReceiverConfiguration ; }
Adds an outbound connection reference used by a remoting receiver in the client context represented
by this {@link EJBClientDescriptorMetaData}

@param outboundConnectionRef The name of the outbound connection. Cannot be null or empty string.
Adds an outbound connection reference used by a remoting receiver in the client context represented by this { @link EJBClientDescriptorMetaData }