This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 306d3a1 Regen 306d3a1 is described below commit 306d3a1f7daf21a0949c429a9b6766563bfd5379 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Apr 10 08:11:56 2020 +0200 Regen --- docs/components/modules/ROOT/pages/couchdb-component.adoc | 2 ++ docs/components/modules/ROOT/pages/mongodb-component.adoc | 15 --------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/docs/components/modules/ROOT/pages/couchdb-component.adoc b/docs/components/modules/ROOT/pages/couchdb-component.adoc index 9c37810..ff3c0b7 100644 --- a/docs/components/modules/ROOT/pages/couchdb-component.adoc +++ b/docs/components/modules/ROOT/pages/couchdb-component.adoc @@ -24,6 +24,8 @@ or all (default). * Headers set for sequenceId, document revision, document id, and HTTP method type. +*Caveat: CouchDB 3.x is not supported.* + Maven users will need to add the following dependency to their `pom.xml` for this component: diff --git a/docs/components/modules/ROOT/pages/mongodb-component.adoc b/docs/components/modules/ROOT/pages/mongodb-component.adoc index 6a746c2..070f904 100644 --- a/docs/components/modules/ROOT/pages/mongodb-component.adoc +++ b/docs/components/modules/ROOT/pages/mongodb-component.adoc @@ -967,7 +967,6 @@ from("mongodb:myDb?database=flights&collection=cancellations&tailTrackIncreasing Change Streams allow applications to access real-time data changes without the complexity and risk of tailing the MongoDB oplog. Applications can use change streams to subscribe to all data changes on a collection and immediately react to them. Because change streams use the aggregation framework, applications can also filter for specific changes or transform the notifications at will. -The exchange body will contain the full document of any change. To configure Change Streams Consumer you need to specify `consumerType`, `database`, `collection` and optional JSON property `streamFilter` to filter events. @@ -992,20 +991,6 @@ from("mongodb:myDb?consumerType=changeStreams&database=flights&collection=ticket .to("mock:test"); ------------- -The `changeStreams` consumer type will also return the following OUT headers: - -[width="100%",cols="10%,10%,60%,20%",options="header",] -|======================================================================= -|Header key |Quick constant |Description (extracted from MongoDB API doc) |Data type - -|`CamelMongoDbStreamOperationType` |`MongoDbConstants.STREAM_OPERATION_TYPE` | The type of operation that occurred. Can -be any of the following values: insert, delete, replace, update, drop, rename, dropDatabase, invalidate. |String - -|`_id` |`MongoDbConstants.MONGO_ID` |A document that contains the _id of the document created or modified by the insert, -replace, delete, update operations (i.e. CRUD operations). For sharded collections, also displays the full shard key for -the document. The _id field is not repeated if it is already a part of the shard key. |ObjectId -|======================================================================= - == Type conversions The `MongoDbBasicConverters` type converter included with the