Class RotatingServerAdvice

java.lang.Object
org.springframework.integration.file.remote.aop.RotatingServerAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.integration.aop.MessageSourceMutator, org.springframework.integration.aop.ReceiveMessageAdvice

public class RotatingServerAdvice extends Object implements org.springframework.integration.aop.MessageSourceMutator
A smart poller advice that rotates across multiple remote servers/directories.
Since:
5.0.7
  • Constructor Details

  • Method Details

    • beforeReceive

      public boolean beforeReceive(org.springframework.integration.core.MessageSource<?> source)
      Specified by:
      beforeReceive in interface org.springframework.integration.aop.MessageSourceMutator
    • afterReceive

      @Nullable public org.springframework.messaging.Message<?> afterReceive(@Nullable org.springframework.messaging.Message<?> result, org.springframework.integration.core.MessageSource<?> source)
      Specified by:
      afterReceive in interface org.springframework.integration.aop.MessageSourceMutator