public abstract class AbstractHandleMessageAdvice extends IntegrationObjectSupport implements HandleMessageAdvice
HandleMessageAdvice
for advices which can be applied only
for the MessageHandler.handleMessage(Message)
.EXPRESSION_PARSER, logger
Constructor and Description |
---|
AbstractHandleMessageAdvice() |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
doInvoke(MethodInvocation invocation,
Message<?> message) |
Object |
invoke(MethodInvocation invocation) |
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, onInit, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
public final Object invoke(MethodInvocation invocation) throws Throwable
invoke
in interface MethodInterceptor
Throwable
protected abstract Object doInvoke(MethodInvocation invocation, Message<?> message) throws Throwable
Throwable