MessageRequestReplyOperations and adds operations for sending and
receiving messages to and from a destination specified as a (resolvable) String name.
DestinationResolver
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | Returns: the converted payload of the reply message, possiblynull if
the message could not be received, for example due to a timeoutthe name of the target destination destinationName, Object the payload for the request message to send request, Class<T> the target class to convert the payload of the reply to targetClass)Redeclares org. Resolve the given destination name, convert the payload request Object
to serialized form, possibly using a
|
| public <T> T | Returns: the converted payload of the reply message, possiblynull if
the message could not be received, for example due to a timeoutthe name of the target destination destinationName, Object the payload for the request message to send request, Map<String, Object> the headers for the request message to send headers, Class<T> the target class to convert the payload of the reply to targetClass)Redeclares org. Resolve the given destination name, convert the payload request Object
to serialized form, possibly using a
|
| public <T> T | Returns: the converted payload of the reply message, possiblynull if
the message could not be received, for example due to a timeoutthe name of the target destination destinationName, Object the payload for the request message to send request, Class<T> the target class to convert the payload of the reply to targetClass, MessagePostProcessor post process for the request message requestPostProcessor)Redeclares org. Resolve the given destination name, convert the payload request Object
to serialized form, possibly using a
|
| public <T> T | Returns: the converted payload of the reply message, possiblynull if
the message could not be received, for example due to a timeoutthe name of the target destination destinationName, Object the payload for the request message to send request, Map<String, Object> the headers for the request message to send headers, Class<T> the target class to convert the payload of the reply to targetClass, MessagePostProcessor post process for the request message requestPostProcessor)Redeclares org. Resolve the given destination name, convert the payload request Object
to serialized form, possibly using a
|
| public Message | Returns: the received message, possiblynull if the message could not
be received, for example due to a timeoutthe name of the target destination destinationName, Message<?> the message to send requestMessage)Redeclares org. Resolve the given destination name to a destination and send the given message, receive a reply and return it. |
| convertSendAndReceive | back to summary |
|---|---|
| public <T> T convertSendAndReceive(String destinationName, Object request, Class<T> targetClass) throws MessagingException Redeclares org. Resolve the given destination name, convert the payload request Object
to serialized form, possibly using a
| |
| convertSendAndReceive | back to summary |
|---|---|
| public <T> T convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) throws MessagingException Redeclares org. Resolve the given destination name, convert the payload request Object
to serialized form, possibly using a
| |
| convertSendAndReceive | back to summary |
|---|---|
| public <T> T convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) throws MessagingException Redeclares org. Resolve the given destination name, convert the payload request Object
to serialized form, possibly using a
| |
| convertSendAndReceive | back to summary |
|---|---|
| public <T> T convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) throws MessagingException Redeclares org. Resolve the given destination name, convert the payload request Object
to serialized form, possibly using a
| |
| sendAndReceive | back to summary |
|---|---|
| public Message Redeclares org. Resolve the given destination name to a destination and send the given message, receive a reply and return it. | |