Package org.springframework.integration.handler
package org.springframework.integration.handler
Provides classes implementing various types of message handler.
-
ClassDescriptionBase class for
MessageHandlerimplementations.The baseAbstractMessageHandlerimplementation for theMessageProducer.Base class forReactiveMessageHandlerimplementations.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"MessageProcessorfor 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.AMessageHandlerthat is capable of delaying the continuation of a Message flow based on the result of evaluationdelayExpressionon an inboundMessageor 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.AMessageHandlerthat evaluates the providedExpressionexpecting a void return.AMessageProcessorimplementation that evaluates a SpEL expression with the Message itself as the root object within the evaluation context.A functional interface to specifyMessageHandlerlogic with Java 8 Lambda expression:MessageHandlers implementing this interface can propagate headers from an input message to an output message.TheMessageProcessorimplementation 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 compositeMessageHandlerimplementation 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 triggerMessageis received.AMessageHandlerthat 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 ofAbstractMessageHandlerthat perform post processing after theAbstractMessageHandler.handleMessageInternal(org.springframework.messaging.Message)call.AMessageHandlerimplementation to adapt aReactiveMessageHandlerfor synchronous invocations.TheAbstractReplyProducingMessageHandlerwrapper around rawMessageHandlerfor 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.