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 4c184eb1950c38776c5af1b74c19a18d2d57b53e Author: Andrea Cosentino <[email protected]> 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
