This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 6c57528 CAMEL-16207: camel-core - Optimize HeaderFilterStrategy with
startsWith pattern
6c57528 is described below
commit 6c575287b8f67801c6a0cfccdd09697522c0d497
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Feb 15 17:03:12 2021 +0100
CAMEL-16207: camel-core - Optimize HeaderFilterStrategy with startsWith
pattern
---
.../camel/component/cxf/common/header/CxfHeaderFilterStrategy.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/common/header/CxfHeaderFilterStrategy.java
b/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/common/header/CxfHeaderFilterStrategy.java
index e388232..2330f00 100644
---
a/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/common/header/CxfHeaderFilterStrategy.java
+++
b/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/common/header/CxfHeaderFilterStrategy.java
@@ -96,7 +96,7 @@ public class CxfHeaderFilterStrategy extends
DefaultHeaderFilterStrategy {
addToMessageHeaderFilterMap(new SoapMessageHeaderFilter());
// filter headers begin with "Camel" or "org.apache.camel"
- setOutFilterStartsWith(CAMEL_FILTER_STARTS_WITH);
+ setOutFilterPattern(CAMEL_FILTER_PATTERN);
}
@SuppressWarnings("unchecked")