Interface CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
CouchbaseEndpointBuilderFactory.CouchbaseEndpointBuilder
- Enclosing interface:
- CouchbaseEndpointBuilderFactory
public static interface CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Couchbase component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
autoStartIdForInserts
(boolean autoStartIdForInserts) Define if we want an autostart Id when we are doing an insert operation.autoStartIdForInserts
(String autoStartIdForInserts) Define if we want an autostart Id when we are doing an insert operation.The bucket to use.collection
(String collection) The collection to use.The key to use.The operation to do.The password to use.persistTo
(int persistTo) Where to persist the data.Where to persist the data.producerRetryAttempts
(int producerRetryAttempts) Define the number of retry attempts.producerRetryAttempts
(String producerRetryAttempts) Define the number of retry attempts.producerRetryPause
(int producerRetryPause) Define the retry pause between different attempts.producerRetryPause
(String producerRetryPause) Define the retry pause between different attempts.replicateTo
(int replicateTo) Where to replicate the data.replicateTo
(String replicateTo) Where to replicate the data.The scope to use.startingIdForInsertsFrom
(long startingIdForInsertsFrom) Define the starting Id where we are doing an insert operation.startingIdForInsertsFrom
(String startingIdForInsertsFrom) Define the starting Id where we are doing an insert operation.The username to use.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
bucket
The bucket to use. The option is a: <code>java.lang.String</code> type. Required: true Group: common- Parameters:
bucket
- the value to set- Returns:
- the dsl builder
-
collection
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder collection(String collection) The collection to use. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
collection
- the value to set- Returns:
- the dsl builder
-
key
The key to use. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
key
- the value to set- Returns:
- the dsl builder
-
scope
The scope to use. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
scope
- the value to set- Returns:
- the dsl builder
-
autoStartIdForInserts
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder autoStartIdForInserts(boolean autoStartIdForInserts) Define if we want an autostart Id when we are doing an insert operation. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
autoStartIdForInserts
- the value to set- Returns:
- the dsl builder
-
autoStartIdForInserts
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder autoStartIdForInserts(String autoStartIdForInserts) Define if we want an autostart Id when we are doing an insert operation. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
autoStartIdForInserts
- the value to set- Returns:
- the dsl builder
-
operation
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder operation(String operation) The operation to do. The option is a: <code>java.lang.String</code> type. Default: CCB_PUT Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
persistTo
Where to persist the data. The option is a: <code>int</code> type. Default: 0 Group: producer- Parameters:
persistTo
- the value to set- Returns:
- the dsl builder
-
persistTo
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder persistTo(String persistTo) Where to persist the data. The option will be converted to a <code>int</code> type. Default: 0 Group: producer- Parameters:
persistTo
- the value to set- Returns:
- the dsl builder
-
producerRetryAttempts
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder producerRetryAttempts(int producerRetryAttempts) Define the number of retry attempts. The option is a: <code>int</code> type. Default: 2 Group: producer- Parameters:
producerRetryAttempts
- the value to set- Returns:
- the dsl builder
-
producerRetryAttempts
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder producerRetryAttempts(String producerRetryAttempts) Define the number of retry attempts. The option will be converted to a <code>int</code> type. Default: 2 Group: producer- Parameters:
producerRetryAttempts
- the value to set- Returns:
- the dsl builder
-
producerRetryPause
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder producerRetryPause(int producerRetryPause) Define the retry pause between different attempts. The option is a: <code>int</code> type. Default: 5000 Group: producer- Parameters:
producerRetryPause
- the value to set- Returns:
- the dsl builder
-
producerRetryPause
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder producerRetryPause(String producerRetryPause) Define the retry pause between different attempts. The option will be converted to a <code>int</code> type. Default: 5000 Group: producer- Parameters:
producerRetryPause
- the value to set- Returns:
- the dsl builder
-
replicateTo
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder replicateTo(int replicateTo) Where to replicate the data. The option is a: <code>int</code> type. Default: 0 Group: producer- Parameters:
replicateTo
- the value to set- Returns:
- the dsl builder
-
replicateTo
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder replicateTo(String replicateTo) Where to replicate the data. The option will be converted to a <code>int</code> type. Default: 0 Group: producer- Parameters:
replicateTo
- the value to set- Returns:
- the dsl builder
-
startingIdForInsertsFrom
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder startingIdForInsertsFrom(long startingIdForInsertsFrom) Define the starting Id where we are doing an insert operation. The option is a: <code>long</code> type. Group: producer- Parameters:
startingIdForInsertsFrom
- the value to set- Returns:
- the dsl builder
-
startingIdForInsertsFrom
default CouchbaseEndpointBuilderFactory.CouchbaseEndpointProducerBuilder startingIdForInsertsFrom(String startingIdForInsertsFrom) Define the starting Id where we are doing an insert operation. The option will be converted to a <code>long</code> type. Group: producer- Parameters:
startingIdForInsertsFrom
- the value to set- Returns:
- the dsl builder
-
password
The password to use. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
username
The username to use. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
username
- the value to set- Returns:
- the dsl builder
-