AbstractDestinationResolvingMessagingTemplate

An extension of {@link AbstractMessagingTemplate} that adds operations for sending messages to a resolvable destination name. Supports destination resolving as defined by the following interfaces: <ul> <li>{@link DestinationResolvingMessageSendingOperations}</li> <li>{@link DestinationResolvingMessageReceivingOperations}</li> <li>{@link DestinationResolvingMessageRequestReplyOperations}</li> </ul>

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

abstract
class AbstractDestinationResolvingMessagingTemplate : AbstractMessagingTemplate!(T), DestinationResolvingMessageSendingOperations!(T), DestinationResolvingMessageReceivingOperations!(T), DestinationResolvingMessageRequestReplyOperations!(T)(
T
) {}

Members

Functions

getDestinationResolver
DestinationResolver!(T) getDestinationResolver()

Return the configured destination resolver.

setDestinationResolver
void setDestinationResolver(DestinationResolver!(T) destinationResolver)

Configure the {@link DestinationResolver} to use to resolve string destination names into actual destinations of type {@code !(T)}. <p>This field does not have a default setting. If not configured, methods that require resolving a destination name will raise an {@link IllegalArgumentException}. @param destinationResolver the destination resolver to use

Meta