AbstractMessageReceivingTemplate that adds support for
request-reply style operations as defined by MessageRequestReplyOperations.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | convertSendAndReceive(Object
payload for the request message to send request, Class<T> the target type to convert the payload of the reply to targetClass)Implements org. Convert the given request Object to serialized form, possibly using a
|
| public <T> T | convertSendAndReceive(D
the target destination destination, Object payload for the request message to send request, Class<T> the target type to convert the payload of the reply to targetClass)Implements org. Convert the given request Object to serialized form, possibly using a
|
| public <T> T | convertSendAndReceive(D
the target destination destination, Object payload for the request message to send request, Map<String, Object> the headers for the request message to send headers, Class<T> the target type to convert the payload of the reply to targetClass)Implements org. Convert the given request Object to serialized form, possibly using a
|
| public <T> T | convertSendAndReceive(Object
payload for the request message to send request, Class<T> the target type to convert the payload of the reply to targetClass, MessagePostProcessor post process to apply to the request message postProcessor)Implements org. Convert the given request Object to serialized form, possibly using a
|
| public <T> T | convertSendAndReceive(D
the target destination destination, Object payload for the request message to send request, Class<T> the target type to convert the payload of the reply to targetClass, MessagePostProcessor post process to apply to the request message postProcessor)Implements org. Convert the given request Object to serialized form, possibly using a
|
| public <T> T | convertSendAndReceive(D
the target destination destination, Object payload for the request message to send request, Map<String, Object> headers, Class<T> the target type to convert the payload of the reply to targetClass, MessagePostProcessor post process to apply to the request message postProcessor)Implements org. Convert the given request Object to serialized form, possibly using a
|
| protected abstract Message | |
| public Message | sendAndReceive(Message<?>
the message to send requestMessage)Implements org. Send a request message and receive the reply from a default destination. |
| public Message | sendAndReceive(D
the target destination destination, Message<?> the message to send requestMessage)Implements org. Send a request message and receive the reply from the given destination. |
| AbstractMessagingTemplate | back to summary |
|---|---|
| public AbstractMessagingTemplate() | |
| convertSendAndReceive | back to summary |
|---|---|
| public <T> T convertSendAndReceive(Object request, Class<T> targetClass) Implements org. Doc from org. Convert the given request Object to serialized form, possibly using a
| |
| convertSendAndReceive | back to summary |
|---|---|
| public <T> T convertSendAndReceive(D destination, Object request, Class<T> targetClass) Implements org. Doc from org. Convert the given request Object to serialized form, possibly using a
| |
| convertSendAndReceive | back to summary |
|---|---|
| public <T> T convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass) Implements org. Doc from org. Convert the given request Object to serialized form, possibly using a
| |
| convertSendAndReceive | back to summary |
|---|---|
| public <T> T convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor postProcessor) Implements org. Doc from org. Convert the given request Object to serialized form, possibly using a
| |
| convertSendAndReceive | back to summary |
|---|---|
| public <T> T convertSendAndReceive(D destination, Object request, Class<T> targetClass, MessagePostProcessor postProcessor) Implements org. Doc from org. Convert the given request Object to serialized form, possibly using a
| |
| convertSendAndReceive | back to summary |
|---|---|
| public <T> T convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) Implements org. Doc from org. Convert the given request Object to serialized form, possibly using a
| |
| doSendAndReceive | back to summary |
|---|---|
protected abstract Message
| |
| sendAndReceive | back to summary |
|---|---|
| public Message Implements org. Doc from org. Send a request message and receive the reply from a default destination. | |
| sendAndReceive | back to summary |
|---|---|
| public Message Implements org. Doc from org. Send a request message and receive the reply from the given destination. | |