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
Author:
Gary Russell
See Also:
  • Method Details

    • handleRequestMessage

      @Nullable Object handleRequestMessage(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