2 Home
gitea_admin edited this page 2026-03-11 14:39:46 +00:00

Replace Field Action

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.

Metadata

Property Value
Type action
Group Actions
Namespace Transformation
Support Level Stable
Provider Apache Software Foundation

Properties

Name Type Required Default Description
enabled string all Comma separated list of fields to be enabled
disabled string none Comma separated list of fields to be disabled
renames string Comma separated list of field with new value to be renamed

Dependencies

  • camel:core
  • camel:jackson
  • camel:kamelet