org.apache.jmeter.protocol.jms.sampler
public class TemporaryQueueExecutor extends Object implements QueueExecutor
Constructor and Description |
---|
TemporaryQueueExecutor(javax.jms.QueueSession session,
javax.jms.Queue destination)
Constructor.
|
public TemporaryQueueExecutor(javax.jms.QueueSession session, javax.jms.Queue destination) throws javax.jms.JMSException
session
- the session to use to send the messagedestination
- the queue to send the message onjavax.jms.JMSException
public javax.jms.Message sendAndReceive(javax.jms.Message request) throws javax.jms.JMSException
sendAndReceive
in interface QueueExecutor
request
- the message to sendnull
javax.jms.JMSException
- in case of an exception from the messaging systemCopyright © 1998-2014 Apache Software Foundation. All Rights Reserved.