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