Package org.springframework.integration.handler
package org.springframework.integration.handler
Provides classes implementing various types of message handler.
-
ClassDescriptionBase class for
MessageHandler
implementations.The baseAbstractMessageHandler
implementation for theMessageProducer
.Base class forReactiveMessageHandler
implementations.Base class for MessageHandlers that are capable of producing replies.An implementation of this interface is used to wrap theAbstractReplyProducingMessageHandler.handleRequestMessage(Message)
method.An "artificial"MessageProcessor
for lazy-load of target bean by its name.A simple MessageHandler implementation that passes the request Message directly to the output channel without modifying it.Classes implementing this interface delegate to a list of handlers.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.Classes implementing this interface are capable of discarding messages.A MessageProcessor implementation that expects an Expression or expressionString as the Message payload.AMessageHandler
that evaluates the providedExpression
expecting a void return.AMessageProcessor
implementation that evaluates a SpEL expression with the Message itself as the root object within the evaluation context.A functional interface to specifyMessageHandler
logic with Java 8 Lambda expression:MessageHandlers implementing this interface can propagate headers from an input message to an output message.TheMessageProcessor
implementation for method invocation on the single method classes - functional interface implementations.MessageHandler implementation that simply logs the Message or its payload depending on the value of the 'shouldLogFullMessage' or SpEL 'logExpression' property.A compositeMessageHandler
implementation that invokes a chain of MessageHandler instances in order.Base class for Message handling components that provides basic validation and error handling capabilities.This defines the lowest-level strategy of processing a Message and returning some Object (or null).Classes implementing this interface can take some action when a triggerMessage
is received.AMessageHandler
that invokes the specified method on the provided object.A MessageProcessor implementation that invokes a method on a target Object.Implementations of this interface are subclasses ofAbstractMessageHandler
that perform post processing after theAbstractMessageHandler.handleMessageInternal(org.springframework.messaging.Message)
call.AMessageHandler
implementation to adapt aReactiveMessageHandler
for synchronous invocations.TheAbstractReplyProducingMessageHandler
wrapper around rawMessageHandler
for request-reply scenarios, e.g.Exception that indicates no reply message is produced by a handler that does have a value of true for the 'requiresReply' property.