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