GenericMessagingTemplate
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | Returns: the payload of the reply message, possiblynull if the message
could not be received, for example due to a timeoutpayload for the request message to send request, Class<T> the target type to convert the payload of the reply to targetClass)Convert the given request Object to serialized form, possibly using a
|
| public <T> T | Returns: the payload of the reply message, possiblynull if the message
could not be received, for example due to a timeoutthe 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)Convert the given request Object to serialized form, possibly using a
|
| public <T> T | Returns: the payload of the reply message, possiblynull if the message
could not be received, for example due to a timeoutthe 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)Convert the given request Object to serialized form, possibly using a
|
| public <T> T | Returns: the payload of the reply message, possiblynull if the message
could not be received, for example due to a timeoutpayload 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 requestPostProcessor)Convert the given request Object to serialized form, possibly using a
|
| public <T> T | Returns: the payload of the reply message, possiblynull if the message
could not be received, for example due to a timeoutthe 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 requestPostProcessor)Convert the given request Object to serialized form, possibly using a
|
| public <T> T | Returns: the payload of the reply message, possiblynull if the message
could not be received, for example due to a timeoutthe 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 requestPostProcessor)Convert the given request Object to serialized form, possibly using a
|
| public Message | Returns: the reply, possiblynull if the message could not be received,
for example due to a timeoutthe message to send requestMessage)Send a request message and receive the reply from a default destination. |
| public Message | Returns: the reply, possiblynull if the message could not be received,
for example due to a timeoutthe target destination destination, Message<?> the message to send requestMessage)Send a request message and receive the reply from the given destination. |
| convertSendAndReceive | back to summary |
|---|---|
| public <T> T convertSendAndReceive(Object request, Class<T> targetClass) throws MessagingException 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) throws MessagingException 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) throws MessagingException 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 requestPostProcessor) throws MessagingException 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 requestPostProcessor) throws MessagingException 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 requestPostProcessor) throws MessagingException Convert the given request Object to serialized form, possibly using a
| |
| sendAndReceive | back to summary |
|---|---|
| public Message Send a request message and receive the reply from a default destination. | |
| sendAndReceive | back to summary |
|---|---|
| public Message Send a request message and receive the reply from the given destination. | |