public abstract class AtmosScheduledPollConsumer
extends org.apache.camel.support.ScheduledPollConsumer
| Modifier and Type | Field and Description |
|---|---|
protected AtmosConfiguration |
configuration |
protected AtmosEndpoint |
endpoint |
| Constructor and Description |
|---|
AtmosScheduledPollConsumer(AtmosEndpoint endpoint,
org.apache.camel.Processor processor,
AtmosConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart()
Lifecycle method invoked when the consumer has created.
|
protected void |
doStop()
Lifecycle method invoked when the consumer has destroyed.
|
protected abstract int |
poll() |
afterPoll, beforePoll, doInit, doShutdown, doSuspend, getBackoffCounter, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isPollAllowed, isPolling, isSchedulerStarted, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, onInit, processEmptyMessage, run, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay, startSchedulercreateUoW, doneUoW, getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, getRoute, getRouteId, handleException, handleException, setExceptionHandler, setRoute, setRouteId, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected AtmosEndpoint endpoint
protected AtmosConfiguration configuration
public AtmosScheduledPollConsumer(AtmosEndpoint endpoint, org.apache.camel.Processor processor, AtmosConfiguration configuration)
protected abstract int poll()
throws Exception
poll in class org.apache.camel.support.ScheduledPollConsumerExceptionprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.ScheduledPollConsumerExceptionApache Camel