MessageReceivingOperations and adds operations for receiving messages
from a destination specified as a (resolvable) String name.
DestinationResolver
| Modifier and Type | Method and Description |
|---|---|
| public Message | receive(String
the destination name to resolve destinationName)Redeclares org. |
| public <T> T | receiveAndConvert(String
the destination name to resolve destinationName, Class<T> the target class for the converted payload targetClass)Redeclares org. |
| receive | back to summary |
|---|---|
| public Message Redeclares org. Resolve the given destination name and receive a message from it.
| |
| receiveAndConvert | back to summary |
|---|---|
| public <T> T receiveAndConvert(String destinationName, Class<T> targetClass) throws MessagingException Redeclares org. Resolve the given destination name, receive a message from it, convert the payload to the specified target type.
| |