2 Home
gitea_admin edited this page 2026-03-11 14:35:49 +00:00

Drop Field Action

Removes a custom field by given name from the message in transit.

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

If for example you have an object like '{ "foo":"John", "bar":30, "element":"hello" }' and your action has been configured with field as 'element', you'll get '{ "foo":"John", "bar":30 }' as a result because the field 'element' has been removed.

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 removed

Dependencies

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