public abstract class DropboxScheduledPollConsumer
extends org.apache.camel.impl.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, doShutdown, doSuspend, getBackoffCounter, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isPollAllowed, isPolling, isSchedulerStarted, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, onInit, processEmptyMessage, run, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay, startSchedulercreateUoW, doneUoW, getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toStringdoResume, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendprotected static final transient org.slf4j.Logger LOG
protected DropboxEndpoint endpoint
protected 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.impl.ScheduledPollConsumerExceptionprotected void doStart()
throws Exception
doStart in class org.apache.camel.impl.ScheduledPollConsumerExceptionApache Camel