You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/11/30 12:00:09 UTC
[camel] branch main updated: Added note on requirements for making updates to CouchDB documents (#8797)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new f66520d6ec8 Added note on requirements for making updates to CouchDB documents (#8797)
f66520d6ec8 is described below
commit f66520d6ec8b0941a04039954a8ca837db893e4f
Author: shikhar97gupta <77...@users.noreply.github.com>
AuthorDate: Wed Nov 30 07:00:01 2022 -0500
Added note on requirements for making updates to CouchDB documents (#8797)
---
components/camel-couchdb/src/main/docs/couchdb-component.adoc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/components/camel-couchdb/src/main/docs/couchdb-component.adoc b/components/camel-couchdb/src/main/docs/couchdb-component.adoc
index e247cae5530..5287caa55c0 100644
--- a/components/camel-couchdb/src/main/docs/couchdb-component.adoc
+++ b/components/camel-couchdb/src/main/docs/couchdb-component.adoc
@@ -87,6 +87,8 @@ or the insert / update will fail. If the body is an instance of a
com.google.gson.JsonElement then it will be inserted as is. Otherwise
the producer will throw an exception of unsupported body type.
+NOTE: To update a CouchDB document, it's _id and _rev field must be part of the json payload routed to CouchDB by Camel.
+
== Samples
For example if you wish to consume all inserts, updates and deletes from