public class SplunkConsumer
extends org.apache.camel.impl.ScheduledBatchPollingConsumer
| Constructor and Description |
|---|
SplunkConsumer(SplunkEndpoint endpoint,
org.apache.camel.Processor processor,
ConsumerType consumerType) |
| Modifier and Type | Method and Description |
|---|---|
protected Queue<org.apache.camel.Exchange> |
createExchanges(List<SplunkEvent> splunkEvents) |
protected int |
poll() |
int |
processBatch(Queue<Object> exchanges) |
deferShutdown, getMaxMessagesPerPoll, getPendingExchangesSize, isBatchAllowed, prepareShutdown, processEmptyMessage, setMaxMessagesPerPollafterPoll, beforePoll, doShutdown, doStart, doStop, doSuspend, getBackoffCounter, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isPollAllowed, isPolling, isSchedulerStarted, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, onInit, 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, suspendpublic SplunkConsumer(SplunkEndpoint endpoint, org.apache.camel.Processor processor, ConsumerType consumerType)
protected int poll()
throws Exception
poll in class org.apache.camel.impl.ScheduledPollConsumerExceptionprotected Queue<org.apache.camel.Exchange> createExchanges(List<SplunkEvent> splunkEvents)
Apache Camel