Package org.springframework.integration.handler
Provides classes implementing various types of message handler.
-
Interface Summary Interface Description AbstractReplyProducingMessageHandler.RequestHandler An implementation of this interface is used to wrap theAbstractReplyProducingMessageHandler.handleRequestMessage(Message)
method.CompositeMessageHandler Classes implementing this interface delegate to a list of handlers.DelayHandlerManagement DiscardingMessageHandler Classes implementing this interface are capable of discarding messages.GenericHandler<P> A functional interface to specifyMessageHandler
logic with Java 8 Lambda expression:HeaderPropagationAware MessageHandlers implementing this interface can propagate headers from an input message to an output message.MessageProcessor<T> This defines the lowest-level strategy of processing a Message and returning some Object (or null).MessageTriggerAction Classes implementing this interface can take some action when a triggerMessage
is received.PostProcessingMessageHandler Implementations of this interface are subclasses ofAbstractMessageHandler
that perform post processing after theAbstractMessageHandler.handleMessageInternal(org.springframework.messaging.Message)
call. -
Class Summary Class Description AbstractMessageHandler Base class forMessageHandler
implementations.AbstractMessageProcessor<T> AbstractMessageProducingHandler The baseAbstractMessageHandler
implementation for theMessageProducer
.AbstractReactiveMessageHandler Base class forReactiveMessageHandler
implementations.AbstractReplyProducingMessageHandler Base class for MessageHandlers that are capable of producing replies.AbstractReplyProducingPostProcessingMessageHandler BeanNameMessageProcessor<T> An "artificial"MessageProcessor
for lazy-load of target bean by its name.BridgeHandler A simple MessageHandler implementation that passes the request Message directly to the output channel without modifying it.DelayHandler AMessageHandler
that is capable of delaying the continuation of a Message flow based on the result of evaluationdelayExpression
on an inboundMessage
or a default delay value configured on this handler.DelayHandler.DelayedMessageWrapper ExpressionCommandMessageProcessor A MessageProcessor implementation that expects an Expression or expressionString as the Message payload.ExpressionEvaluatingMessageHandler AMessageHandler
that evaluates the providedExpression
expecting a void return.ExpressionEvaluatingMessageProcessor<T> AMessageProcessor
implementation that evaluates a SpEL expression with the Message itself as the root object within the evaluation context.LambdaMessageProcessor TheMessageProcessor
implementation for method invocation on the single method classes - functional interface implementations.LoggingHandler MessageHandler implementation that simply logs the Message or its payload depending on the value of the 'shouldLogFullMessage' or SpEL 'logExpression' property.MessageHandlerChain A compositeMessageHandler
implementation that invokes a chain of MessageHandler instances in order.MessageHandlerSupport Base class for Message handling components that provides basic validation and error handling capabilities.MethodInvokingMessageHandler AMessageHandler
that invokes the specified method on the provided object.MethodInvokingMessageProcessor<T> A MessageProcessor implementation that invokes a method on a target Object.ReactiveMessageHandlerAdapter AMessageHandler
implementation to adapt aReactiveMessageHandler
for synchronous invocations.ReplyProducingMessageHandlerWrapper TheAbstractReplyProducingMessageHandler
wrapper around rawMessageHandler
for request-reply scenarios, e.g.ServiceActivatingHandler -
Enum Summary Enum Description LoggingHandler.Level -
Exception Summary Exception Description ReplyRequiredException Exception that indicates no reply message is produced by a handler that does have a value of true for the 'requiresReply' property.