public class GoraConsumer
extends org.apache.camel.support.ScheduledPollConsumer
Consumer.| Constructor and Description |
|---|
GoraConsumer(org.apache.camel.Endpoint endpoint,
org.apache.camel.Processor processor,
GoraConfiguration configuration,
org.apache.gora.store.DataStore<Object,org.apache.gora.persistency.Persistent> dataStore)
Consumer Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
poll() |
afterPoll, beforePoll, doInit, doShutdown, doStart, doStop, 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, waitpublic GoraConsumer(org.apache.camel.Endpoint endpoint,
org.apache.camel.Processor processor,
GoraConfiguration configuration,
org.apache.gora.store.DataStore<Object,org.apache.gora.persistency.Persistent> dataStore)
throws ClassNotFoundException,
NoSuchMethodException,
InvocationTargetException,
IllegalAccessException
endpoint - Reference to the Camel-Gora endpointprocessor - Reference to Consumer Processorconfiguration - Reference to Camel-Gora endpoint configurationdataStore - Reference to the datastoreClassNotFoundExceptionNoSuchMethodExceptionInvocationTargetExceptionIllegalAccessExceptionApache Camel