Class AbstractHandleMessageAdvice
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.advice.AbstractHandleMessageAdvice
- All Implemented Interfaces:
- Advice,- Interceptor,- MethodInterceptor,- Aware,- BeanFactoryAware,- BeanNameAware,- InitializingBean,- ApplicationContextAware,- ExpressionCapable,- HandleMessageAdvice,- NamedComponent
- Direct Known Subclasses:
- IdempotentReceiverInterceptor
public abstract class AbstractHandleMessageAdvice
extends IntegrationObjectSupport
implements HandleMessageAdvice
The base 
HandleMessageAdvice for advices which can be applied only
 for the MessageHandler.handleMessage(Message).- Since:
- 4.3.1
- Author:
- Artem Bilan, Gary Russell
- 
Field SummaryFields inherited from class org.springframework.integration.context.IntegrationObjectSupportEXPRESSION_PARSER, logger
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract ObjectdoInvoke(MethodInvocation invocation, Message<?> message) final Objectinvoke(MethodInvocation invocation) Methods inherited from class org.springframework.integration.context.IntegrationObjectSupportafterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, onInit, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
- 
Constructor Details- 
AbstractHandleMessageAdvicepublic AbstractHandleMessageAdvice()
 
- 
- 
Method Details- 
invoke- Specified by:
- invokein interface- MethodInterceptor
- Throws:
- Throwable
 
- 
doInvokeprotected abstract Object doInvoke(MethodInvocation invocation, Message<?> message) throws Throwable - Throws:
- Throwable
 
 
-