Class StatefulRetryOperationsInterceptor

java.lang.Object
org.springframework.amqp.rabbit.config.StatefulRetryOperationsInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public final class StatefulRetryOperationsInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor
MethodInterceptor implementation that keeps state of message processing using a RetryPolicy. Method invocations are keyed using a MessageKeyGenerator.
Since:
4.0
  • Method Details

    • invoke

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