public static interface KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
accessKey(String accessKey)
Amazon AWS Access Key.
|
default KinesisEndpointBuilderFactory.AdvancedKinesisEndpointConsumerBuilder |
advanced() |
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
amazonKinesisClient(Object amazonKinesisClient)
Amazon Kinesis client to use for all requests for this endpoint.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
amazonKinesisClient(String amazonKinesisClient)
Amazon Kinesis client to use for all requests for this endpoint.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
autoDiscoverClient(boolean autoDiscoverClient)
Setting the autoDiscoverClient mechanism, if true, the component will
look for a client instance in the registry automatically otherwise it
will skip that checking.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
autoDiscoverClient(String autoDiscoverClient)
Setting the autoDiscoverClient mechanism, if true, the component will
look for a client instance in the registry automatically otherwise it
will skip that checking.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
iteratorType(KinesisEndpointBuilderFactory.ShardIteratorType iteratorType)
Defines where in the Kinesis stream to start getting records.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
iteratorType(String iteratorType)
Defines where in the Kinesis stream to start getting records.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
maxResultsPerRequest(int maxResultsPerRequest)
Maximum number of records that will be fetched in each poll.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
maxResultsPerRequest(String maxResultsPerRequest)
Maximum number of records that will be fetched in each poll.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
proxyHost(String proxyHost)
To define a proxy host when instantiating the Kinesis client.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
proxyPort(Integer proxyPort)
To define a proxy port when instantiating the Kinesis client.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
proxyPort(String proxyPort)
To define a proxy port when instantiating the Kinesis client.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
proxyProtocol(KinesisEndpointBuilderFactory.Protocol proxyProtocol)
To define a proxy protocol when instantiating the Kinesis client.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
proxyProtocol(String proxyProtocol)
To define a proxy protocol when instantiating the Kinesis client.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
region(String region)
The region in which Kinesis client needs to work.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
secretKey(String secretKey)
Amazon AWS Secret Key.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
If the polling consumer did not poll any files, you can enable this
option to send an empty message (no body) instead.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
If the polling consumer did not poll any files, you can enable this
option to send an empty message (no body) instead.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
sequenceNumber(String sequenceNumber)
The sequence number to start polling from.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
shardClosed(KinesisEndpointBuilderFactory.KinesisShardClosedStrategyEnum shardClosed)
Define what will be the behavior in case of shard closed.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
shardClosed(String shardClosed)
Define what will be the behavior in case of shard closed.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
shardId(String shardId)
Defines which shardId in the Kinesis stream to get records from.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default KinesisEndpointBuilderFactory.AdvancedKinesisEndpointConsumerBuilder advanced()
default KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder amazonKinesisClient(Object amazonKinesisClient)
amazonKinesisClient - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder amazonKinesisClient(String amazonKinesisClient)
amazonKinesisClient - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder autoDiscoverClient(boolean autoDiscoverClient)
autoDiscoverClient - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder autoDiscoverClient(String autoDiscoverClient)
autoDiscoverClient - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder proxyHost(String proxyHost)
proxyHost - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder proxyPort(Integer proxyPort)
proxyPort - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder proxyPort(String proxyPort)
proxyPort - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder proxyProtocol(KinesisEndpointBuilderFactory.Protocol proxyProtocol)
proxyProtocol - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder proxyProtocol(String proxyProtocol)
proxyProtocol - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder region(String region)
region - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder iteratorType(KinesisEndpointBuilderFactory.ShardIteratorType iteratorType)
iteratorType - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder iteratorType(String iteratorType)
iteratorType - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder maxResultsPerRequest(int maxResultsPerRequest)
maxResultsPerRequest - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder maxResultsPerRequest(String maxResultsPerRequest)
maxResultsPerRequest - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder sequenceNumber(String sequenceNumber)
sequenceNumber - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder shardClosed(KinesisEndpointBuilderFactory.KinesisShardClosedStrategyEnum shardClosed)
shardClosed - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder shardClosed(String shardClosed)
shardClosed - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder shardId(String shardId)
shardId - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
backoffMultiplier - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
backoffMultiplier - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder delay(long delay)
delay - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder delay(String delay)
delay - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder greedy(boolean greedy)
greedy - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder greedy(String greedy)
greedy - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder initialDelay(long initialDelay)
initialDelay - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder initialDelay(String initialDelay)
initialDelay - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder repeatCount(long repeatCount)
repeatCount - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder repeatCount(String repeatCount)
repeatCount - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
runLoggingLevel - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
runLoggingLevel - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
scheduledExecutorService - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
scheduledExecutorService - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder scheduler(Object scheduler)
scheduler - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder scheduler(String scheduler)
scheduler - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder schedulerProperties(String key, Object value)
key - the option keyvalue - the option valuedefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder schedulerProperties(Map values)
values - the valuesdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder startScheduler(boolean startScheduler)
startScheduler - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder startScheduler(String startScheduler)
startScheduler - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
timeUnit - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder timeUnit(String timeUnit)
timeUnit - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
useFixedDelay - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
useFixedDelay - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder accessKey(String accessKey)
accessKey - the value to setdefault KinesisEndpointBuilderFactory.KinesisEndpointConsumerBuilder secretKey(String secretKey)
secretKey - the value to setApache Camel