public class BoxConsumer extends org.apache.camel.util.component.AbstractApiConsumer<BoxApiName,BoxConfiguration> implements com.box.sdk.EventListener
Constructor and Description |
---|
BoxConsumer(BoxEndpoint endpoint,
org.apache.camel.Processor processor) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
void |
interceptPropertyNames(Set<String> propertyNames) |
void |
onEvent(com.box.sdk.BoxEvent event) |
boolean |
onException(Throwable e) |
void |
onNextPosition(long position) |
doInvokeMethod, interceptProperties, interceptResult, isGreedy, isSplitResult, poll, setSplitResult, splitResult
afterPoll, beforePoll, doShutdown, doSuspend, getBackoffCounter, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isPollAllowed, isPolling, isSchedulerStarted, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, onInit, processEmptyMessage, run, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay, startScheduler
createUoW, doneUoW, getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toString
doResume, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public BoxConsumer(BoxEndpoint endpoint, org.apache.camel.Processor processor)
public void interceptPropertyNames(Set<String> propertyNames)
interceptPropertyNames
in interface org.apache.camel.util.component.PropertyNamesInterceptor
interceptPropertyNames
in class org.apache.camel.util.component.AbstractApiConsumer<BoxApiName,BoxConfiguration>
public void onEvent(com.box.sdk.BoxEvent event)
onEvent
in interface com.box.sdk.EventListener
public void onNextPosition(long position)
onNextPosition
in interface com.box.sdk.EventListener
public boolean onException(Throwable e)
onException
in interface com.box.sdk.EventListener
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.ScheduledPollConsumer
Exception
Apache Camel