public abstract class AbstractHandleMessageAdvice extends IntegrationObjectSupport implements HandleMessageAdvice
HandleMessageAdvice for advices which can be applied only
for the MessageHandler.handleMessage(Message).| Modifier and Type | Field and Description |
|---|---|
protected Log |
logger |
EXPRESSION_PARSER| 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, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, onInit, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringprotected final Log logger
public final Object invoke(MethodInvocation invocation) throws Throwable
invoke in interface MethodInterceptorThrowableprotected abstract Object doInvoke(MethodInvocation invocation, Message<?> message) throws Throwable
Throwable