Class CamelInternalProcessor.DelayerAdvice

java.lang.Object
org.apache.camel.impl.engine.CamelInternalProcessor.DelayerAdvice
All Implemented Interfaces:
org.apache.camel.spi.CamelInternalProcessorAdvice<Object>
Enclosing class:
CamelInternalProcessor

public static class CamelInternalProcessor.DelayerAdvice extends Object implements org.apache.camel.spi.CamelInternalProcessorAdvice<Object>
Advice for delaying
  • Constructor Details

    • DelayerAdvice

      public DelayerAdvice(long delay)
  • Method Details

    • before

      public Object before(org.apache.camel.Exchange exchange) throws Exception
      Specified by:
      before in interface org.apache.camel.spi.CamelInternalProcessorAdvice<Object>
      Throws:
      Exception
    • after

      public void after(org.apache.camel.Exchange exchange, Object data) throws Exception
      Specified by:
      after in interface org.apache.camel.spi.CamelInternalProcessorAdvice<Object>
      Throws:
      Exception
    • hasState

      public boolean hasState()
      Specified by:
      hasState in interface org.apache.camel.spi.CamelInternalProcessorAdvice<Object>