Interface AbstractReplyProducingMessageHandler.RequestHandler

Enclosing class:
AbstractReplyProducingMessageHandler

public static interface AbstractReplyProducingMessageHandler.RequestHandler
An implementation of this interface is used to wrap the AbstractReplyProducingMessageHandler.handleRequestMessage(Message) method. Also allows access to the underlying AbstractReplyProducingMessageHandler to obtain properties.
Since:
2.2
See Also:
getAdvisedHandler()
  • Method Details

    • handleRequestMessage

      @Nullable java.lang.Object handleRequestMessage​(org.springframework.messaging.Message<?> requestMessage)
    • getAdvisedHandler

      Utility method, intended for use in message handler advice classes to get information about the advised object. For example:

      ((AbstractReplyProducingMessageHandler.RequestHandler) invocation.getThis()).getAdvisedHandler().getComponentName()

      Returns:
      the outer class instance.
      Since:
      4.3.2