程序包 org.springframework.messaging.core
Defines interfaces and implementation classes for messaging templates.
接口概要 接口 说明 DestinationResolver<D> Strategy for resolving a String destination name to an actual destination of type<D>.DestinationResolvingMessageReceivingOperations<D> ExtendsMessageReceivingOperationsand adds operations for receiving messages from a destination specified as a (resolvable) String name.DestinationResolvingMessageRequestReplyOperations<D> ExtendsMessageRequestReplyOperationsand adds operations for sending and receiving messages to and from a destination specified as a (resolvable) String name.DestinationResolvingMessageSendingOperations<D> ExtendsMessageSendingOperationsand adds operations for sending messages to a destination specified as a (resolvable) String name.MessagePostProcessor A contract for processing aMessageafter it has been created, either returning a modified (effectively new) message or returning the same.MessageReceivingOperations<D> Operations for receiving messages from a destination.MessageRequestReplyOperations<D> Operations for sending messages to and receiving the reply from a destination.MessageSendingOperations<D> Operations for sending messages to a destination.类概要 类 说明 AbstractDestinationResolvingMessagingTemplate<D> An extension ofAbstractMessagingTemplatethat adds operations for sending messages to a resolvable destination name.AbstractMessageReceivingTemplate<D> An extension ofAbstractMessageSendingTemplatethat adds support for receive style operations as defined byMessageReceivingOperations.AbstractMessageSendingTemplate<D> Abstract base class for implementations ofMessageSendingOperations.AbstractMessagingTemplate<D> An extension ofAbstractMessageReceivingTemplatethat adds support for request-reply style operations as defined byMessageRequestReplyOperations.BeanFactoryMessageChannelDestinationResolver An implementation ofDestinationResolverthat interprets a destination name as the bean name of aMessageChanneland looks up the bean in the configuredBeanFactory.CachingDestinationResolverProxy<D> DestinationResolverimplementation that proxies a target DestinationResolver, caching itsCachingDestinationResolverProxy.resolveDestination(java.lang.String)results.GenericMessagingTemplate A messaging template that resolves destinations names toMessageChannel's to send and receive messages from.异常错误概要 异常错误 说明 DestinationResolutionException Thrown by aDestinationResolverwhen it cannot resolve a destination.