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
All Methods Instance Methods Default Methods Modifier and Type Method Description default CouchDbEndpointBuilderFactory.AdvancedCouchDbEndpointConsumerBuilder
advanced()
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
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 CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
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 CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
createDatabase(boolean createDatabase)
Creates the database if it does not already exist.default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
createDatabase(String createDatabase)
Creates the database if it does not already exist.default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
deletes(boolean deletes)
Document deletes are published as events.default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
deletes(String deletes)
Document deletes are published as events.default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
heartbeat(long heartbeat)
How often to send an empty message to keep socket alive in millis.default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
heartbeat(String heartbeat)
How often to send an empty message to keep socket alive in millis.default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
password(String password)
Password for authenticated databases.default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
since(String since)
Start tracking changes immediately after the given update sequence.default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
style(String style)
Specifies how many revisions are returned in the changes array.default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
updates(boolean updates)
Document inserts/updates are published as events.default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
updates(String updates)
Document inserts/updates are published as events.default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder
username(String username)
Username in case of authenticated databases.
-
-
-
Method Detail
-
advanced
default CouchDbEndpointBuilderFactory.AdvancedCouchDbEndpointConsumerBuilder advanced()
-
createDatabase
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder createDatabase(boolean createDatabase)
Creates the database if it does not already exist. The option is a:boolean
type. Default: false Group: common
-
createDatabase
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder createDatabase(String createDatabase)
Creates the database if it does not already exist. The option will be converted to aboolean
type. Default: false Group: common
-
bridgeErrorHandler
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder 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
-
bridgeErrorHandler
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder 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. 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 will be converted to aboolean
type. Default: false Group: consumer
-
deletes
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder deletes(boolean deletes)
Document deletes are published as events. The option is a:boolean
type. Default: true Group: consumer
-
deletes
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder deletes(String deletes)
Document deletes are published as events. The option will be converted to aboolean
type. Default: true Group: consumer
-
heartbeat
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder heartbeat(long heartbeat)
How often to send an empty message to keep socket alive in millis. The option is a:long
type. Default: 30000 Group: consumer
-
heartbeat
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder heartbeat(String heartbeat)
How often to send an empty message to keep socket alive in millis. The option will be converted to along
type. Default: 30000 Group: consumer
-
since
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder since(String since)
Start tracking changes immediately after the given update sequence. The default, null, will start monitoring from the latest sequence. The option is a:java.lang.String
type. Group: consumer
-
style
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder style(String 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:java.lang.String
type. Default: main_only Group: consumer
-
updates
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder updates(boolean updates)
Document inserts/updates are published as events. The option is a:boolean
type. Default: true Group: consumer
-
updates
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder updates(String updates)
Document inserts/updates are published as events. The option will be converted to aboolean
type. Default: true Group: consumer
-
password
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder password(String password)
Password for authenticated databases. The option is a:java.lang.String
type. Group: security
-
username
default CouchDbEndpointBuilderFactory.CouchDbEndpointConsumerBuilder username(String username)
Username in case of authenticated databases. The option is a:java.lang.String
type. Group: security
-
-