Class ReplyProducingMessageHandlerWrapper

All Implemented Interfaces:
org.reactivestreams.Subscriber<org.springframework.messaging.Message<?>>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle, org.springframework.core.Ordered, ExpressionCapable, Orderable, MessageProducer, HeaderPropagationAware, IntegrationPattern, NamedComponent, IntegrationManagement, ManageableLifecycle, TrackableComponent, org.springframework.messaging.MessageHandler, reactor.core.CoreSubscriber<org.springframework.messaging.Message<?>>

public class ReplyProducingMessageHandlerWrapper extends AbstractReplyProducingMessageHandler implements ManageableLifecycle
The AbstractReplyProducingMessageHandler wrapper around raw MessageHandler for request-reply scenarios, e.g. @ServiceActivator annotation configuration.

This class is used internally by Framework in cases when request-reply is important and there is no other way to apply advice chain.

The lifecycle control is delegated to the target MessageHandler.

Since:
5.0
  • Constructor Details

    • ReplyProducingMessageHandlerWrapper

      public ReplyProducingMessageHandlerWrapper(org.springframework.messaging.MessageHandler target)
  • Method Details