Class Receiver
java.lang.Object
org.apache.jmeter.protocol.jms.sampler.Receiver
- All Implemented Interfaces:
Runnable
Receiver of pseudo-synchronous reply messages.
-
Method Details
-
createReceiver
public static Receiver createReceiver(ConnectionFactory factory, Destination receiveQueue, String principal, String credentials, boolean useResMsgIdAsCorrelId, String jmsSelector) throws JMSException Create a receiver to process responses.- Parameters:
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 selector- Returns:
- the Receiver which will process the responses
-
run
public void run() -
deactivate
public void deactivate()
-