public static class CamelInternalProcessor.DelayerAdvice extends Object implements CamelInternalProcessorAdvice
| Constructor and Description |
|---|
CamelInternalProcessor.DelayerAdvice(long delay) |
public CamelInternalProcessor.DelayerAdvice(long delay)
public Object before(Exchange exchange) throws Exception
CamelInternalProcessorAdvicebefore in interface CamelInternalProcessorAdviceexchange - the current exchangeCamelInternalProcessorAdvice.after(org.apache.camel.Exchange, Object) method, or use null for no state.Exception - is thrown if error during the call.public void after(Exchange exchange, Object data) throws Exception
CamelInternalProcessorAdviceafter in interface CamelInternalProcessorAdviceexchange - the current exchangedata - the state, if any, returned in the CamelInternalProcessorAdvice.before(org.apache.camel.Exchange) method.Exception - is thrown if error during the call.Apache Camel