@UriEndpoint(firstVersion="2.17.0",
scheme="aws-kinesis",
title="AWS Kinesis",
syntax="aws-kinesis:streamName",
consumerClass=KinesisConsumer.class,
label="cloud,messaging")
public class KinesisEndpoint
extends org.apache.camel.impl.ScheduledPollEndpoint
| Constructor and Description |
|---|
KinesisEndpoint(String uri,
String streamName,
KinesisComponent component) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Exchange |
createExchange(com.amazonaws.services.kinesis.model.Record record) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
com.amazonaws.services.kinesis.AmazonKinesis |
getAmazonKinesisClient() |
com.amazonaws.services.kinesis.model.ShardIteratorType |
getIteratorType() |
int |
getMaxResultsPerRequest() |
String |
getSequenceNumber() |
String |
getShardId() |
String |
getStreamName() |
boolean |
isSingleton() |
void |
setAmazonKinesisClient(com.amazonaws.services.kinesis.AmazonKinesis amazonKinesisClient) |
void |
setIteratorType(com.amazonaws.services.kinesis.model.ShardIteratorType iteratorType) |
void |
setMaxResultsPerRequest(int maxResultsPerRequest) |
void |
setSequenceNumber(String sequenceNumber) |
void |
setShardId(String shardId) |
void |
setStreamName(String streamName) |
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, initConsumerProperties, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic KinesisEndpoint(String uri, String streamName, KinesisComponent component)
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.ScheduledPollEndpointExceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic org.apache.camel.Exchange createExchange(com.amazonaws.services.kinesis.model.Record record)
public boolean isSingleton()
public com.amazonaws.services.kinesis.AmazonKinesis getAmazonKinesisClient()
public void setAmazonKinesisClient(com.amazonaws.services.kinesis.AmazonKinesis amazonKinesisClient)
public int getMaxResultsPerRequest()
public void setMaxResultsPerRequest(int maxResultsPerRequest)
public String getStreamName()
public void setStreamName(String streamName)
public com.amazonaws.services.kinesis.model.ShardIteratorType getIteratorType()
public void setIteratorType(com.amazonaws.services.kinesis.model.ShardIteratorType iteratorType)
public String getShardId()
public void setShardId(String shardId)
public String getSequenceNumber()
public void setSequenceNumber(String sequenceNumber)
Apache Camel