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 Summary
Modifier and TypeMethodDescriptionUtility method, intended for use in message handler advice classes to get information about the advised object.handleRequestMessage
(Message<?> requestMessage)
-
Method Details
-
handleRequestMessage
-
getAdvisedHandler
AbstractReplyProducingMessageHandler 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
-