You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/08/23 10:29:41 UTC
[camel-kamelets] 04/04: Regen docs
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch insert-field-action-doc
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 7bae049fe5c21dbf88f62544452eb9db559808c3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 23 12:28:42 2021 +0200
Regen docs
---
docs/modules/ROOT/pages/insert-field-action.adoc | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/docs/modules/ROOT/pages/insert-field-action.adoc b/docs/modules/ROOT/pages/insert-field-action.adoc
index 21216aa..64d80ae 100644
--- a/docs/modules/ROOT/pages/insert-field-action.adoc
+++ b/docs/modules/ROOT/pages/insert-field-action.adoc
@@ -5,7 +5,13 @@
*Support Level for this Kamelet is: "Preview"*
-Adds a custom field with a constant value to the message in transit
+Adds a custom field with a constant value to the message in transit.
+
+This action works with Json Object. So it will expect a Json Array or a Json Object.
+
+If for example you have an array like '{ "foo":"John", "bar":30 }' and your action has been configured with field as 'element' and value as 'hello', you'll get '{ "foo":"John", "bar":30, "element":"hello" }'
+
+No headers mapping supported, only constant values.
== Configuration Options