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,ComponentSourceAware,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 Summary
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
EXPRESSION_PARSER, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ObjectdoInvoke(MethodInvocation invocation, Message<?> message) final Objectinvoke(MethodInvocation invocation) Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getComponentType, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, onInit, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
-
Constructor Details
-
AbstractHandleMessageAdvice
public AbstractHandleMessageAdvice()
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceMethodInterceptor- Throws:
Throwable
-
doInvoke
protected abstract Object doInvoke(MethodInvocation invocation, Message<?> message) throws Throwable - Throws:
Throwable
-