public class HandleMessageAdviceAdapter extends Object implements HandleMessageAdvice
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<?>).
| Constructor and Description |
|---|
HandleMessageAdviceAdapter(MethodInterceptor delegate) |
public HandleMessageAdviceAdapter(MethodInterceptor delegate)
public Object invoke(MethodInvocation invocation) throws Throwable
invoke in interface MethodInterceptorThrowable