public class BoxConsumer extends org.apache.camel.support.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() |
BoxEndpoint |
getEndpoint() |
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, splitResultaddLastErrorDetail, afterConfigureScheduler, afterPoll, beforePoll, doBuild, doInit, doShutdown, doSuspend, getBackoffCounter, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getCounter, getDelay, getErrorCounter, getInitialDelay, getLastError, getLastErrorDetails, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getSuccessCounter, getTimeUnit, isFirstPollDone, 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, startSchedulercreateExchange, createUoW, defaultConsumerCallback, doneUoW, getAsyncProcessor, getExceptionHandler, getHealthCheck, getProcessor, getRoute, getRouteId, handleException, handleException, releaseExchange, setExceptionHandler, setHealthCheck, setRoute, setRouteId, toStringbuild, 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, waitgetHealthCheck, setHealthCheckpublic BoxConsumer(BoxEndpoint endpoint, org.apache.camel.Processor processor)
public void interceptPropertyNames(Set<String> propertyNames)
interceptPropertyNames in interface org.apache.camel.support.component.PropertyNamesInterceptorinterceptPropertyNames in class org.apache.camel.support.component.AbstractApiConsumer<BoxApiName,BoxConfiguration>public void onEvent(com.box.sdk.BoxEvent event)
onEvent in interface com.box.sdk.EventListenerpublic void onNextPosition(long position)
onNextPosition in interface com.box.sdk.EventListenerpublic boolean onException(Throwable e)
onException in interface com.box.sdk.EventListenerpublic BoxEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.support.DefaultConsumerprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.ScheduledPollConsumerExceptionApache Camel