org.apache.camel.processor.interceptor
Class DelayInterceptor
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.processor.DelegateAsyncProcessor
org.apache.camel.processor.DelayProcessorSupport
org.apache.camel.processor.interceptor.DelayInterceptor
- All Implemented Interfaces:
- AsyncProcessor, DelegateProcessor, Navigate<Processor>, Processor, Service, ShutdownableService, StatefulService, SuspendableService
Deprecated. no longer in use, will be removed in next Camel release.
@Deprecated
public class DelayInterceptor
- extends DelayProcessorSupport
An interceptor for delaying routes.
Methods inherited from class org.apache.camel.processor.DelayProcessorSupport |
currentSystemTime, delay, doShutdown, doStart, getDelayedCount, handleSleepInterruptedException, isAsyncDelayed, isCallerRunsWhenRejected, process, setAsyncDelayed, setCallerRunsWhenRejected |
Methods inherited from class org.apache.camel.support.ServiceSupport |
doResume, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
DelayInterceptor
public DelayInterceptor(CamelContext camelContext,
ProcessorDefinition<?> node,
Processor target,
Delayer delayer)
- Deprecated.
toString
public String toString()
- Deprecated.
- Overrides:
toString
in class DelegateAsyncProcessor
calculateDelay
public long calculateDelay(Exchange exchange)
- Deprecated.
- Specified by:
calculateDelay
in class DelayProcessorSupport
Apache Camel