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 e483969ed953e86eab8b5d1075008dd2b7697d22 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu May 6 13:32:06 2021 +0200 Regen catalog --- .../src/main/resources/kamelets/insert-field-action.kamelet.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/library/camel-kamelets-catalog/src/main/resources/kamelets/insert-field-action.kamelet.yaml b/library/camel-kamelets-catalog/src/main/resources/kamelets/insert-field-action.kamelet.yaml index c1dcf4a..4108731 100644 --- a/library/camel-kamelets-catalog/src/main/resources/kamelets/insert-field-action.kamelet.yaml +++ b/library/camel-kamelets-catalog/src/main/resources/kamelets/insert-field-action.kamelet.yaml @@ -36,7 +36,9 @@ spec: - simple: "${header[Content-Type]} == 'application/json'" steps: - unmarshal: - json: {} + json: + library: Jackson + unmarshalTypeName: com.fasterxml.jackson.databind.JsonNode - set-property: name: "field" constant: "{{field}}" @@ -45,7 +47,9 @@ spec: constant: "{{value}}" - bean: "org.apache.camel.kamelets.utils.transform.InsertField" - marshal: - json: {} + json: + library: Jackson + unmarshalTypeName: com.fasterxml.jackson.databind.JsonNode - set-header: name: "Content-Type" constant: "application/json"