Class HandleMessageAdviceAdapter
java.lang.Object
org.springframework.integration.handler.advice.HandleMessageAdviceAdapter
- All Implemented Interfaces:
Advice,Interceptor,MethodInterceptor,HandleMessageAdvice
public class HandleMessageAdviceAdapter extends Object implements HandleMessageAdvice
A
HandleMessageAdvice implementation with a plain delegation
to the provided MethodInterceptor.
This advice should be used for consumer endpoints to proxy exactly
a MessageHandler.handleMessage(org.springframework.messaging.Message<?>) and the whole-subflow therefore;
unlike regular proxying which is applied only for the
AbstractReplyProducingMessageHandler.RequestHandler.handleRequestMessage(org.springframework.messaging.Message<?>).
- Since:
- 5.3
- Author:
- Artem Bilan
-
Constructor Summary
Constructors Constructor Description HandleMessageAdviceAdapter(MethodInterceptor delegate) -
Method Summary
Modifier and Type Method Description Objectinvoke(MethodInvocation invocation)
-
Constructor Details
-
Method Details
-
invoke
- Specified by:
invokein interfaceMethodInterceptor- Throws:
Throwable
-