Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13116

DefaultHeaderFilterStrategy match action configurable

    XMLWordPrintableJSON

Details

    Description

      The Exchange headers are sent to target systems in some components such as JMS (as JMS message headers), HTTP (as HTTP headers).

      In order to send only some of the existing Exchange headers, without removing the undesired ones so they are available later on on the route, a filter strategy kicks in.

      The current implementation of the DefaultHeaderFilterStrategy class match action removes the headers you configure, so is exactly the reverse of this use case.

      With this modification, you'd keep some headers and you'd avoid sending anything not matched, preventing any information to be leaked.

      The default value for this new setting keeps the current behaviour, so it should be safe to be introduced.

      Attachments

        Issue Links

          Activity

            People

              acosentino Andrea Cosentino
              amassana Aniol Massana
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m