Package org.springframework.messaging.support
Provides implementations of
Message along with a MessageBuilder and MessageHeaderAccessor for building and working with messages and message headers, as well as various MessageChannel implementations and channel interceptor support.Interface Summary Interface Description ChannelInterceptor Interface for interceptors that are able to view and/or modify theMessagesbeing sent-to and/or received-from aMessageChannel.ExecutorChannelInterceptor An extension ofChannelInterceptorwith callbacks to intercept the asynchronous sending of aMessageto a specific subscriber through anExecutor.HeaderMapper<T> Generic strategy interface for mappingMessageHeadersto and from other types of objects.InterceptableChannel AMessageChannelthat maintains a listChannelInterceptorsand allows interception of message sending.MessageHandlingRunnable Extension of theRunnableinterface with methods to obtain theMessageHandlerandMessageto be handled.MessageHeaderInitializer Callback interface for initializing aMessageHeaderAccessor.Class Summary Class Description AbstractHeaderMapper<T> A baseHeaderMapperimplementation.AbstractMessageChannel Abstract base class forMessageChannelimplementations.AbstractSubscribableChannel Abstract base class forSubscribableChannelimplementations.ChannelInterceptorAdapter AChannelInterceptorbase class with empty method implementations as a convenience.ErrorMessage AGenericMessagewith aThrowablepayload.ExecutorSubscribableChannel ASubscribableChannelthat sends messages to each of its subscribers.GenericMessage<T> An implementation ofMessagewith a generic payload.IdTimestampMessageHeaderInitializer AMessageHeaderInitializerto customize the strategy for ID and TIMESTAMP message header generation.ImmutableMessageChannelInterceptor A simpler interceptor that callsMessageHeaderAccessor.setImmutable()on the headers of messages passed through the preSend method.MessageBuilder<T> MessageHeaderAccessor A base for classes providing strongly typed getters and setters as well as behavior around specific categories of headers (e.g.NativeMessageHeaderAccessor An extension ofMessageHeaderAccessorthat also stores and provides read/write access to message headers from an external source -- e.g.