public interface QueueExecutor
Modifier and Type | Method and Description |
---|---|
Message |
sendAndReceive(Message request,
int deliveryMode,
int priority,
long expiration)
Sends and receives a message.
|
Message sendAndReceive(Message request, int deliveryMode, int priority, long expiration) throws JMSException
request
- the message to senddeliveryMode
- the delivery mode to usepriority
- the priority for this messageexpiration
- messages lifetime in msnull
JMSException
- in case of an exception from the messaging systemCopyright © 1998-2017 Apache Software Foundation. All Rights Reserved.