spring-framework / org.springframework.messaging.core

Package org.springframework.messaging.core

Types

BeanFactoryMessageChannelDestinationResolver

open class BeanFactoryMessageChannelDestinationResolver : DestinationResolver<MessageChannel>, BeanFactoryAware

An implementation of DestinationResolver that interprets a destination name as the bean name of a MessageChannel and looks up the bean in the configured BeanFactory.

CachingDestinationResolverProxy

open class CachingDestinationResolverProxy<D : Any> : DestinationResolver<D>, InitializingBean

DestinationResolver implementation that proxies a target DestinationResolver, caching its #resolveDestination results. Such caching is particularly useful if the destination resolving process is expensive (e.g. the destination has to be resolved through an external system) and the resolution results are stable anyway.

GenericMessagingTemplate

open class GenericMessagingTemplate : AbstractDestinationResolvingMessagingTemplate<MessageChannel>, BeanFactoryAware

A messaging template that resolves destinations names to MessageChannel's to send and receive messages from.

Exceptions

DestinationResolutionException

open class DestinationResolutionException : MessagingException

Thrown by a DestinationResolver when it cannot resolve a destination.