| Modifier and Type | Method | Description |
|---|---|---|
static Receiver |
createReceiver(ConnectionFactory factory,
Destination receiveQueue,
String principal,
String credentials,
boolean useResMsgIdAsCorrelId,
String jmsSelector) |
Create a receiver to process responses.
|
void |
deactivate() |
|
void |
run() |
public static Receiver createReceiver(ConnectionFactory factory, Destination receiveQueue, String principal, String credentials, boolean useResMsgIdAsCorrelId, String jmsSelector) throws 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 selectorJMSException - when creating the receiver failspublic void deactivate()
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.