DestinationResolvingMessageRequestReplyOperations

Extends {@link MessageRequestReplyOperations} and adds operations for sending and receiving messages to and from a destination specified as a (resolvable) string name.

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

interface DestinationResolvingMessageRequestReplyOperations : MessageRequestReplyOperations!(T)(
T
) {}

Members

Functions

sendAndReceive
Message!(T) sendAndReceive(string destinationName, Message!(T) requestMessage)

Resolve the given destination name to a destination and send the given message, receive a reply and return it. @param destinationName the name of the target destination @param requestMessage the mesage to send @return the received message, possibly {@code null} if the message could not be received, for example due to a timeout

Meta