Class AbstractHandleMessageAdvice

java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.advice.AbstractHandleMessageAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.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
  • Constructor Details

    • AbstractHandleMessageAdvice

      public AbstractHandleMessageAdvice()
  • Method Details

    • invoke

      public final Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
      Specified by:
      invoke in interface org.aopalliance.intercept.MethodInterceptor
      Throws:
      Throwable
    • doInvoke

      protected abstract Object doInvoke(org.aopalliance.intercept.MethodInvocation invocation, org.springframework.messaging.Message<?> message) throws Throwable
      Throws:
      Throwable