Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.20.2
-
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
- links to