This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch replace-field-action in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit ee8e6a4ecbb78b62da23e6a8d3f09ddf4b7c0060 Author: Andrea Cosentino <[email protected]> AuthorDate: Wed Jan 12 12:01:28 2022 +0100 Replace Field Action: disabled and enabled are mandatory --- .../resources/kamelets/replace-field-action.kamelet.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/replace-field-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/replace-field-action.kamelet.yaml index 6340e16..b0fc154 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/replace-field-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/replace-field-action.kamelet.yaml @@ -29,7 +29,18 @@ metadata: spec: definition: title: "Replace Field Action" - description: "Replace field with a different key in the message in transit" + description: |- + Replace field with a different key in the message in transit. + + The required parameter 'renames' is a comma-separated list of colon-delimited renaming pairs like for example 'foo:bar,abc:xyz' and it represents the field rename mappings. + + The optional parameter 'enabled' represents the fields to include. If specified, only the named fields will be included in the resulting message. + + The optional parameter 'disabled' represents the fields to exclude. If specified, the listed fields will be excluded from the resulting message. This takes precedence over the 'enabled' parameter. + + The default value of 'enabled' parameter is 'all', so all the fields of the payload will be included. + + The default value of 'disabled' parameter is 'none', so no fields of the payload will be excluded. required: - renames properties:
