public class HandleMessageAdviceAdapter extends java.lang.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(org.aopalliance.intercept.MethodInterceptor delegate) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |