## 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 71 describes the properties you can specify using the properties editor.

Table 71. 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.
Inherit Error Handler | Specifies whether the node should use the error handler configured for the route. The default is `Disabled`.
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 Camel XML file.
Description | Specifies a text description for the node. This description is included in the generated XML file, but it is informational only. It is not used by Apache Camel.