Name
Remove Headers — Removes message headers whose name matches a specified pattern
Usage
The remove headers pattern removes any headers whose name matches the specified pattern from the message.
The remove headers pattern can appear anywhere in the route body.
Properties
Table 5.8 describes the properties you can specify using the properties editor.
Table 5.8. Remove Headers Properties
Name | Description |
---|---|
Pattern | Specifies the pattern used to identify the removed headers. The pattern uses
standard wild card character notation where * matches any number
of characters. |
Exclude Pattern | Specifies a pattern used to identify headers that should remain in the message.
The pattern uses standard wild card character notation where *
matches any number of characters. |
Id | Specifies a unique identifier for the endpoint. The Id can be used to refer to the endpoint in the Apache Camel configuration file. |
Description | Specifies a text description of the bean. The description is included in the generated XML file. |