public static interface AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder extends ComponentBuilder<org.apache.camel.component.azure.cosmosdb.CosmosDbComponent>
| Modifier and Type | Method and Description |
|---|---|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
accountKey(String accountKey)
Sets either a master or readonly key used to perform authentication
for accessing resource.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
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 AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
changeFeedProcessorOptions(com.azure.cosmos.models.ChangeFeedProcessorOptions changeFeedProcessorOptions)
Sets the ChangeFeedProcessorOptions to be used.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
clientTelemetryEnabled(boolean clientTelemetryEnabled)
Sets the flag to enable client telemetry which will periodically
collect database operations aggregation statistics, system
information like cpu/memory and send it to cosmos monitoring service,
which will be helpful during debugging.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
configuration(org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration configuration)
The component configurations.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
connectionSharingAcrossClientsEnabled(boolean connectionSharingAcrossClientsEnabled)
Enables connections sharing across multiple Cosmos Clients.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
consistencyLevel(com.azure.cosmos.ConsistencyLevel consistencyLevel)
Sets the consistency levels supported for Azure Cosmos DB client
operations in the Azure Cosmos DB service.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
containerPartitionKeyPath(String containerPartitionKeyPath)
Sets the container partition key path.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
contentResponseOnWriteEnabled(boolean contentResponseOnWriteEnabled)
Sets the boolean to only return the headers and status code in Cosmos
DB response in case of Create, Update and Delete operations on
CosmosItem.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
cosmosAsyncClient(com.azure.cosmos.CosmosAsyncClient cosmosAsyncClient)
Inject an external CosmosAsyncClient into the component which
provides a client-side logical representation of the Azure Cosmos DB
service.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
createContainerIfNotExists(boolean createContainerIfNotExists)
Sets if the component should create Cosmos container automatically in
case it doesn't exist in Cosmos database.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
createDatabaseIfNotExists(boolean createDatabaseIfNotExists)
Sets if the component should create Cosmos database automatically in
case it doesn't exist in Cosmos account.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
createLeaseContainerIfNotExists(boolean createLeaseContainerIfNotExists)
Sets if the component should create Cosmos lease container for the
consumer automatically in case it doesn't exist in Cosmos database.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
createLeaseDatabaseIfNotExists(boolean createLeaseDatabaseIfNotExists)
Sets if the component should create Cosmos lease database for the
consumer automatically in case it doesn't exist in Cosmos account.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
databaseEndpoint(String databaseEndpoint)
Sets the Azure Cosmos database endpoint the component will connect
to.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
hostName(String hostName)
Sets the hostname.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
itemId(String itemId)
Sets the itemId in case needed for operation on item like delete,
replace.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
itemPartitionKey(com.azure.cosmos.models.PartitionKey itemPartitionKey)
Sets partition key.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
leaseContainerName(String leaseContainerName)
Sets the lease container which acts as a state storage and
coordinates processing the change feed across multiple workers.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
leaseDatabaseName(String leaseDatabaseName)
Sets the lease database where the leaseContainerName will be stored.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
multipleWriteRegionsEnabled(boolean multipleWriteRegionsEnabled)
Sets the flag to enable writes on any regions for geo-replicated
database accounts in the Azure Cosmos DB service.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
operation(org.apache.camel.component.azure.cosmosdb.CosmosDbOperationsDefinition operation)
The CosmosDB operation that can be used with this component on the
producer.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
preferredRegions(List<String> preferredRegions)
Sets the preferred regions for geo-replicated database accounts.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
query(String query)
An SQL query to execute on a given resources.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
queryRequestOptions(com.azure.cosmos.models.CosmosQueryRequestOptions queryRequestOptions)
Set additional QueryRequestOptions that can be used with queryItems,
queryContainers, queryDatabases, listDatabases, listItems,
listContainers operations.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
readRequestsFallbackEnabled(boolean readRequestsFallbackEnabled)
Sets whether to allow for reads to go to multiple regions configured
on an account of Azure Cosmos DB service.
|
default AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder |
throughputProperties(com.azure.cosmos.models.ThroughputProperties throughputProperties)
Sets throughput of the resources in the Azure Cosmos DB service.
|
build, build, doSetProperty, registerdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder clientTelemetryEnabled(boolean clientTelemetryEnabled)
clientTelemetryEnabled - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder configuration(org.apache.camel.component.azure.cosmosdb.CosmosDbConfiguration configuration)
configuration - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder connectionSharingAcrossClientsEnabled(boolean connectionSharingAcrossClientsEnabled)
connectionSharingAcrossClientsEnabled - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder consistencyLevel(com.azure.cosmos.ConsistencyLevel consistencyLevel)
consistencyLevel - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder containerPartitionKeyPath(String containerPartitionKeyPath)
containerPartitionKeyPath - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder contentResponseOnWriteEnabled(boolean contentResponseOnWriteEnabled)
contentResponseOnWriteEnabled - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder cosmosAsyncClient(com.azure.cosmos.CosmosAsyncClient cosmosAsyncClient)
cosmosAsyncClient - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder createContainerIfNotExists(boolean createContainerIfNotExists)
createContainerIfNotExists - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder createDatabaseIfNotExists(boolean createDatabaseIfNotExists)
createDatabaseIfNotExists - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder databaseEndpoint(String databaseEndpoint)
databaseEndpoint - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder multipleWriteRegionsEnabled(boolean multipleWriteRegionsEnabled)
multipleWriteRegionsEnabled - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder preferredRegions(List<String> preferredRegions)
preferredRegions - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder readRequestsFallbackEnabled(boolean readRequestsFallbackEnabled)
readRequestsFallbackEnabled - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder throughputProperties(com.azure.cosmos.models.ThroughputProperties throughputProperties)
throughputProperties - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder changeFeedProcessorOptions(com.azure.cosmos.models.ChangeFeedProcessorOptions changeFeedProcessorOptions)
changeFeedProcessorOptions - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder createLeaseContainerIfNotExists(boolean createLeaseContainerIfNotExists)
createLeaseContainerIfNotExists - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder createLeaseDatabaseIfNotExists(boolean createLeaseDatabaseIfNotExists)
createLeaseDatabaseIfNotExists - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder hostName(String hostName)
hostName - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder leaseContainerName(String leaseContainerName)
leaseContainerName - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder leaseDatabaseName(String leaseDatabaseName)
leaseDatabaseName - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder itemId(String itemId)
itemId - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder itemPartitionKey(com.azure.cosmos.models.PartitionKey itemPartitionKey)
itemPartitionKey - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder operation(org.apache.camel.component.azure.cosmosdb.CosmosDbOperationsDefinition operation)
operation - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder query(String query)
query - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder queryRequestOptions(com.azure.cosmos.models.CosmosQueryRequestOptions queryRequestOptions)
queryRequestOptions - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault AzureCosmosdbComponentBuilderFactory.AzureCosmosdbComponentBuilder accountKey(String accountKey)
accountKey - the value to setApache Camel