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