MessageRequestReplyOperations

Operations for sending messages to and receiving the reply from a destination.

@author Mark Fisher @author Rossen Stoyanchev @since 4.0 @param (T) the type of destination @see GenericMessagingTemplate

Members

Functions

sendAndReceive
Message!(T) sendAndReceive(Message!(T) requestMessage)

Send a request message and receive the reply from a default destination. @param requestMessage the message to send @return the reply, possibly {@code null} if the message could not be received, for example due to a timeout

sendAndReceive
Message!(T) sendAndReceive(T destination, Message!(T) requestMessage)

Send a request message and receive the reply from the given destination. @param destination the target destination @param requestMessage the message to send @return the reply, possibly {@code null} if the message could not be received, for example due to a timeout

Meta