2. Enterprise Integration Patterns

headerFilter

Version

Removes message headers matching a list of patterns. The first matching child element will be acted upon by the filter.

Example Configuration

api:
port: 2000
flow:
- headerFilter:
- include: Content.*
- include: Location
- exclude: .*
target:
url: https://membrane-api.io
api:
   port: 2000
   flow:
     - headerFilter:
         - include: Content.*
         - include: Location
         - exclude: .*
   target:
     url: https://membrane-api.io

Syntax

headerFilter:
- <filterRules>
headerFilter:
  - <filterRules>

Child Structure

ElementCardinalityDescription
filterRules0..*List of actions to take (either allowing or removing HTTP headers).

Can be used in