public abstract class DropboxScheduledPollConsumer
extends org.apache.camel.support.ScheduledPollConsumer
| Modifier and Type | Field and Description |
|---|---|
protected DropboxConfiguration |
configuration |
protected DropboxEndpoint |
endpoint |
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
DropboxScheduledPollConsumer(DropboxEndpoint endpoint,
org.apache.camel.Processor processor,
DropboxConfiguration 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, handleException, handleException, setExceptionHandler, setRoute, toStringdoResume, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendprotected static final transient org.slf4j.Logger LOG
protected final DropboxEndpoint endpoint
protected final DropboxConfiguration configuration
public DropboxScheduledPollConsumer(DropboxEndpoint endpoint, org.apache.camel.Processor processor, DropboxConfiguration 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