/** * 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. */ 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. */ 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 a outbound connection reference used by a remoting receivers in the client context represented * by this {@link EJBClientDescriptorMetaData} * * @param outboundConnectionRef The name of the outbound connection. Cannot be null or empty string. */ 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. */ 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; }