public class Kinesis2Consumer
extends org.apache.camel.support.ScheduledBatchPollingConsumer
Constructor and Description |
---|
Kinesis2Consumer(Kinesis2Endpoint endpoint,
org.apache.camel.Processor processor) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Exchange |
createExchange(software.amazon.awssdk.services.kinesis.model.Record record) |
Kinesis2Endpoint |
getEndpoint() |
protected int |
poll() |
int |
processBatch(Queue<Object> exchanges) |
deferShutdown, getMaxMessagesPerPoll, getPendingExchangesSize, isBatchAllowed, prepareShutdown, processEmptyMessage, setMaxMessagesPerPoll
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, run, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay, startScheduler
createExchange, createUoW, defaultConsumerCallback, doBuild, doneUoW, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, getRouteId, handleException, handleException, releaseExchange, setExceptionHandler, setRoute, setRouteId, toString
build, doFail, doLifecycleChange, doResume, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createExchange, defaultConsumerCallback, getProcessor, releaseExchange
public Kinesis2Consumer(Kinesis2Endpoint endpoint, org.apache.camel.Processor processor)
protected int poll() throws Exception
poll
in class org.apache.camel.support.ScheduledPollConsumer
Exception
public Kinesis2Endpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.support.DefaultConsumer
protected org.apache.camel.Exchange createExchange(software.amazon.awssdk.services.kinesis.model.Record record)
Apache Camel