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

  • Method Details

    • invoke

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

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