2 Home
gitea_admin edited this page 2026-03-11 14:37:06 +00:00

Insert Field Action

Adds a custom field with a simple language parsed value to the message in transit.

The insert field action expects an application/json content type.

If for example you have an object 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" }' as a result

Metadata

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

Properties

Name Type Required Default Description
field string The name of the field to be added
value string The value of the field

Dependencies

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