The couchdb component is used for integrate with CouchDB databases.
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 | |||
bridgeErrorHandler | parameter | consumer | boolean | 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/ERROR level and ignored. | |||
exceptionHandler | parameter | consumer (advanced) | org.apache.camel.spi.ExceptionHandler | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored. | |||
exchangePattern | parameter | consumer (advanced) | org.apache.camel.ExchangePattern | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the exchange pattern when the consumer creates 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). |