Interface QueueExecutor
-
- All Known Implementing Classes:
FixedQueueExecutor,TemporaryQueueExecutor
public interface QueueExecutorExecutor for (pseudo) synchronous communication.
Created on: October 28, 2004- Version:
- $Revision: 1649531 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessagesendAndReceive(Message request, int deliveryMode, int priority, long expiration)Sends and receives a message.
-
-
-
Method Detail
-
sendAndReceive
Message sendAndReceive(Message request, int deliveryMode, int priority, long expiration) throws JMSExceptionSends and receives a message.- Parameters:
request- the message to senddeliveryMode- the delivery mode to usepriority- the priority for this messageexpiration- messages lifetime in ms- Returns:
- the received message or
null - Throws:
JMSException- in case of an exception from the messaging system
-
-