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 onJMSExceptionpublic Message sendAndReceive(Message request)
throws JMSException
sendAndReceive in interface QueueExecutorrequest - the message to sendnullJMSException - in case of an exception from the messaging systemCopyright © 1998-2015 Apache Software Foundation. All Rights Reserved.