| Modifier and Type | Method and Description |
|---|---|
static Receiver |
createReceiver(javax.jms.ConnectionFactory factory,
javax.jms.Destination receiveQueue,
String principal,
String credentials,
boolean useResMsgIdAsCorrelId,
String jmsSelector)
Create a receiver to process responses.
|
void |
deactivate() |
void |
run() |
public static Receiver createReceiver(javax.jms.ConnectionFactory factory, javax.jms.Destination receiveQueue, String principal, String credentials, boolean useResMsgIdAsCorrelId, String jmsSelector) throws javax.jms.JMSException
factory - connection factory to usereceiveQueue - name of the receiving queueprincipal - user name to use for connecting to the queuecredentials - credentials to use for connecting to the queueuseResMsgIdAsCorrelId - true if should use JMSMessageId,
false if should use JMSCorrelationIdjmsSelector - JMS selectorjavax.jms.JMSException - when creating the receiver failspublic void deactivate()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.