Interface AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.aws.ddbstream.DdbStreamComponent>
- All Known Implementing Classes:
AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilderImpl
- Enclosing interface:
- AwsDdbstreamComponentBuilderFactory
public static interface AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder extends ComponentBuilder<org.apache.camel.component.aws.ddbstream.DdbStreamComponent>
Builder for the AWS DynamoDB Streams component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
accessKey(String accessKey)
Amazon AWS Access Key.default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
amazonDynamoDbStreamsClient(com.amazonaws.services.dynamodbv2.AmazonDynamoDBStreams amazonDynamoDbStreamsClient)
Amazon DynamoDB client to use for all requests for this endpoint.default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
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 AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
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 AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
configuration(org.apache.camel.component.aws.ddbstream.DdbStreamConfiguration configuration)
The component configuration.default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
iteratorType(com.amazonaws.services.dynamodbv2.model.ShardIteratorType iteratorType)
Defines where in the DynaboDB stream to start getting records.default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
maxResultsPerRequest(int maxResultsPerRequest)
Maximum number of records that will be fetched in each poll.default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
proxyHost(String proxyHost)
To define a proxy host when instantiating the DDBStreams client.default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
proxyPort(Integer proxyPort)
To define a proxy port when instantiating the DDBStreams client.default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
proxyProtocol(com.amazonaws.Protocol proxyProtocol)
To define a proxy protocol when instantiating the DDBStreams client.default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
region(String region)
The region in which DDBStreams client needs to work.default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
secretKey(String secretKey)
Amazon AWS Secret Key.default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder
sequenceNumberProvider(org.apache.camel.component.aws.ddbstream.SequenceNumberProvider sequenceNumberProvider)
Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
autoDiscoverClient
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder 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. The option is a:boolean
type. Default: true Group: common
-
amazonDynamoDbStreamsClient
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder amazonDynamoDbStreamsClient(com.amazonaws.services.dynamodbv2.AmazonDynamoDBStreams amazonDynamoDbStreamsClient)
Amazon DynamoDB client to use for all requests for this endpoint. The option is a:com.amazonaws.services.dynamodbv2.AmazonDynamoDBStreams
type. Group: consumer
-
bridgeErrorHandler
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder 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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:boolean
type. Default: false Group: consumer
-
configuration
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder configuration(org.apache.camel.component.aws.ddbstream.DdbStreamConfiguration configuration)
The component configuration. The option is a:org.apache.camel.component.aws.ddbstream.DdbStreamConfiguration
type. Group: consumer
-
iteratorType
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder iteratorType(com.amazonaws.services.dynamodbv2.model.ShardIteratorType iteratorType)
Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. The option is a:com.amazonaws.services.dynamodbv2.model.ShardIteratorType
type. Default: LATEST Group: consumer
-
maxResultsPerRequest
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder maxResultsPerRequest(int maxResultsPerRequest)
Maximum number of records that will be fetched in each poll. The option is a:int
type. Group: consumer
-
proxyHost
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder proxyHost(String proxyHost)
To define a proxy host when instantiating the DDBStreams client. The option is a:java.lang.String
type. Group: consumer
-
proxyPort
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder proxyPort(Integer proxyPort)
To define a proxy port when instantiating the DDBStreams client. The option is a:java.lang.Integer
type. Group: consumer
-
proxyProtocol
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder proxyProtocol(com.amazonaws.Protocol proxyProtocol)
To define a proxy protocol when instantiating the DDBStreams client. The option is a:com.amazonaws.Protocol
type. Default: HTTPS Group: consumer
-
region
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder region(String region)
The region in which DDBStreams client needs to work. The option is a:java.lang.String
type. Group: consumer
-
sequenceNumberProvider
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder sequenceNumberProvider(org.apache.camel.component.aws.ddbstream.SequenceNumberProvider sequenceNumberProvider)
Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number. The option is a:org.apache.camel.component.aws.ddbstream.SequenceNumberProvider
type. Group: consumer
-
autowiredEnabled
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a:boolean
type. Default: true Group: advanced
-
accessKey
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder accessKey(String accessKey)
Amazon AWS Access Key. The option is a:java.lang.String
type. Group: security
-
secretKey
default AwsDdbstreamComponentBuilderFactory.AwsDdbstreamComponentBuilder secretKey(String secretKey)
Amazon AWS Secret Key. The option is a:java.lang.String
type. Group: security
-
-