CouchDB

CouchDB

Description: Camel CouchDB component
Scheme: couchdb
Syntax: couchdb:protocol:hostname:port/database
Maven: org.apache.camel/camel-couchdb/2.16.1
Name Kind Group Required Default Type Enum Description
protocol path common true java.lang.String http
https
The protocol to use for communicating with the database.
hostname path common true java.lang.String Hostname of the running couchdb instance
port path common 5984 int Port number for the running couchdb instance
database path common true java.lang.String Name of the database to use
createDatabase parameter common boolean Creates the database if it does not already exist
deletes parameter common true boolean Document deletes are published as events
heartbeat parameter common 30000 long How often to send an empty message to keep socket alive in millis
password parameter common java.lang.String Password for authenticated databases
style parameter common main_only java.lang.String all_docs
main_only
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.)
updates parameter common true boolean Document inserts/updates are published as events
username parameter common java.lang.String Username in case of authenticated databases
exchangePattern parameter advanced InOnly org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).

couchdb consumer