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

camel-mail: Add headerFilterStrategy option to component level

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.20.2
    • 3.0.0-M2, 3.0.0
    • camel-mail
    • None
    • Novice

    Description

      Currently it's not possible to change/customize the headerFilterStrategy for all camel-mail endpoints because it has to be configured on endpoint level.

      In the cxf component it's possible to configure it on component level too, so it's possible to provide a global headerFilterStrategy:

      Example:

      		CxfComponent comp = camelContext.getComponent("cxf",
      				CxfComponent.class);
      		CxfHeaderFilterStrategy strategy = new CxfHeaderFilterStrategy();
      		strategy.setOutFilterPattern(
      				"<customized>");
      		comp.setHeaderFilterStrategy(strategy);

      It would be an improvement to add the headerFilterStrategy option also to component level.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              cgiera Christoph Giera
              Votes:
              0 Vote for this issue
              Watchers:
              2 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