Remove Headers Component
The Remove headers component can be used to remove headers that are not used anymore from an exchange.
Configuration
The Remove headers component has the following configuration options:
Pattern
Description
A regular expression to select which headers need to be removed.
Remark
|
can be used as a separation symbol to specify a list of headers that should
be removed.
Exclude
Description
A regular expression to select the headers which don't need to be included in the pattern used above.
Remark
|
can be used as a separation symbol to specify a list of headers that should
be excluded from removal.
Remark
Headers in Dovetail are case-insensitive, but the Remove Headers
Component works in a case-sensitive way. For example: a header with the
name Subject
will not be removed when you specify subject
in the
Pattern option.
Example
Remove headers component with the following settings:
- Pattern:
*
- Exclude:
header1|header2
Exchange with the following headers:
- header1:
value1
- header2:
value2
- header3:
value3
Result headers:
- header1:
value1
- header2:
value2
header3 is removed.