This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch mustache in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit a91d1faf2f658492d11d3d9e73a7656d66599401 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Jul 1 14:38:15 2021 +0200 Added Mustache Template Action Kamelet --- docs/modules/ROOT/nav.adoc | 1 + docs/modules/ROOT/pages/mongodb-sink.adoc | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index 31ab73d..f7f7176 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -83,6 +83,7 @@ * xref:ROOT:mongodb-sink.adoc[image:kamelets/mongodb-sink.svg[] MongoDB Sink] * xref:ROOT:mongodb-source.adoc[image:kamelets/mongodb-source.svg[] MongoDB Source] * xref:ROOT:mqtt-source.adoc[image:kamelets/mqtt-source.svg[] MQTT Source] +* xref:ROOT:mustache-template-action.adoc[image:kamelets/mustache-template-action.svg[] Mustache Template Action] * xref:ROOT:mysql-sink.adoc[image:kamelets/mysql-sink.svg[] MySQL Sink] * xref:ROOT:mysql-source.adoc[image:kamelets/mysql-source.svg[] MySQL Source] * xref:ROOT:nats-sink.adoc[image:kamelets/nats-sink.svg[] NATS Sink] diff --git a/docs/modules/ROOT/pages/mongodb-sink.adoc b/docs/modules/ROOT/pages/mongodb-sink.adoc index d3f517a..6c65112 100644 --- a/docs/modules/ROOT/pages/mongodb-sink.adoc +++ b/docs/modules/ROOT/pages/mongodb-sink.adoc @@ -9,6 +9,10 @@ Send documents to MongoDB. This Kamelet expects a JSON as body. +Properties you can as headers: + +`db-upsert` / `ce-db-upsert` If the database should create the element if it does not exist. Boolean value. + == Configuration Options The following table summarizes the configuration options available for the `mongodb-sink` Kamelet: @@ -20,6 +24,8 @@ The following table summarizes the configuration options available for the `mong | *hosts {empty}* *| MongoDB Hosts| Comma separated list of MongoDB Host Addresses in host:port format.| string| | | *password {empty}* *| MongoDB Password| User password for accessing MongoDB.| string| | | *username {empty}* *| MongoDB Username| Username for accessing MongoDB.| string| | +| createCollection| Collection| Create collection during initialisation if it doesn't exist.| boolean| `false`| +| writeConcern| Write Concern| Configure the level of acknowledgment requested from MongoDB for write operations, possible values are ACKNOWLEDGED, W1, W2, W3, UNACKNOWLEDGED, JOURNALED, MAJORITY.| string| | |=== NOTE: Fields marked with ({empty}*) are mandatory.