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 specifyMessageHandlerlogic 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 triggerMessageis received.PostProcessingMessageHandler Implementations of this interface are subclasses ofAbstractMessageHandlerthat perform post processing after theAbstractMessageHandler.handleMessageInternal(org.springframework.messaging.Message)call. -
Class Summary Class Description AbstractMessageHandler Base class forMessageHandlerimplementations.AbstractMessageProcessor<T> AbstractMessageProducingHandler The baseAbstractMessageHandlerimplementation for theMessageProducer.AbstractReactiveMessageHandler Base class forReactiveMessageHandlerimplementations.AbstractReplyProducingMessageHandler Base class for MessageHandlers that are capable of producing replies.AbstractReplyProducingPostProcessingMessageHandler BeanNameMessageProcessor<T> An "artificial"MessageProcessorfor 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 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.DelayHandler.DelayedMessageWrapper ExpressionCommandMessageProcessor A MessageProcessor implementation that expects an Expression or expressionString as the Message payload.ExpressionEvaluatingMessageHandler AMessageHandlerthat evaluates the providedExpressionexpecting a void return.ExpressionEvaluatingMessageProcessor<T> AMessageProcessorimplementation that evaluates a SpEL expression with the Message itself as the root object within the evaluation context.LambdaMessageProcessor TheMessageProcessorimplementation 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 compositeMessageHandlerimplementation 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 AMessageHandlerthat invokes the specified method on the provided object.MethodInvokingMessageProcessor<T> A MessageProcessor implementation that invokes a method on a target Object.ReactiveMessageHandlerAdapter AMessageHandlerimplementation to adapt aReactiveMessageHandlerfor synchronous invocations.ReplyProducingMessageHandlerWrapper TheAbstractReplyProducingMessageHandlerwrapper around rawMessageHandlerfor 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.