Interface CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
CouchDbEndpointBuilderFactory.CouchDbEndpointBuilder
- Enclosing interface:
- CouchDbEndpointBuilderFactory
public static interface CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the CouchDB component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
createDatabase
(boolean createDatabase) Creates the database if it does not already exist.createDatabase
(String createDatabase) Creates the database if it does not already exist.deletes
(boolean deletes) Document deletes are published as events.Document deletes are published as events.heartbeat
(long heartbeat) How often to send an empty message to keep socket alive in millis.How often to send an empty message to keep socket alive in millis.Password for authenticated databases.Specifies how many revisions are returned in the changes array.updates
(boolean updates) Document inserts/updates are published as events.Document inserts/updates are published as events.Username in case of authenticated databases.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
createDatabase
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder createDatabase(boolean createDatabase) Creates the database if it does not already exist. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
createDatabase
- the value to set- Returns:
- the dsl builder
-
createDatabase
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder createDatabase(String createDatabase) Creates the database if it does not already exist. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
createDatabase
- the value to set- Returns:
- the dsl builder
-
deletes
Document deletes are published as events. The option is a: <code>boolean</code> type. Default: true Group: consumer- Parameters:
deletes
- the value to set- Returns:
- the dsl builder
-
deletes
Document deletes are published as events. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer- Parameters:
deletes
- the value to set- Returns:
- the dsl builder
-
heartbeat
How often to send an empty message to keep socket alive in millis. The option is a: <code>long</code> type. Default: 30000 Group: consumer- Parameters:
heartbeat
- the value to set- Returns:
- the dsl builder
-
heartbeat
How often to send an empty message to keep socket alive in millis. The option will be converted to a <code>long</code> type. Default: 30000 Group: consumer- Parameters:
heartbeat
- the value to set- Returns:
- the dsl builder
-
style
Specifies how many revisions are returned in the changes array. The default, main_only, will only return the current winning revision; all_docs will return all leaf revisions (including conflicts and deleted former conflicts.). The option is a: <code>java.lang.String</code> type. Default: main_only Group: consumer- Parameters:
style
- the value to set- Returns:
- the dsl builder
-
updates
Document inserts/updates are published as events. The option is a: <code>boolean</code> type. Default: true Group: consumer- Parameters:
updates
- the value to set- Returns:
- the dsl builder
-
updates
Document inserts/updates are published as events. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer- Parameters:
updates
- the value to set- Returns:
- the dsl builder
-
password
Password for authenticated databases. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
username
Username in case of authenticated databases. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
username
- the value to set- Returns:
- the dsl builder
-