This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 6b673240ba9fb6f92c38893e0fa6f9f805410a8c
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Aug 23 12:09:23 2021 +0200

    Regen
---
 .../main/resources/kamelets/insert-field-action.kamelet.yaml   | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/insert-field-action.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/insert-field-action.kamelet.yaml
index 26988c9..a1ee831 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/insert-field-action.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/insert-field-action.kamelet.yaml
@@ -13,7 +13,15 @@ metadata:
 spec:
   definition:
     title: "Insert Field Action"
-    description: "Adds a custom field with a constant value to the message in 
transit"
+    description: |-
+
+    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.
     required:
       - field
       - value

Reply via email to