You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/02/10 08:21:57 UTC
[camel] branch camel-3.7.x updated: CAMEL-16716: camel-kafka - Bug
in header filter strategy regexp pattern
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-3.7.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.7.x by this push:
new 6bac34f CAMEL-16716: camel-kafka - Bug in header filter strategy regexp pattern
6bac34f is described below
commit 6bac34f72c5a04dc8071030759c0fac146f141f5
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Feb 10 09:20:03 2021 +0100
CAMEL-16716: camel-kafka - Bug in header filter strategy regexp pattern
---
.../org/apache/camel/component/kafka/KafkaHeaderFilterStrategy.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaHeaderFilterStrategy.java b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaHeaderFilterStrategy.java
index 4aedd77..48865b4 100644
--- a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaHeaderFilterStrategy.java
+++ b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaHeaderFilterStrategy.java
@@ -26,7 +26,7 @@ public class KafkaHeaderFilterStrategy extends DefaultHeaderFilterStrategy {
* A filter pattern that only accepts keys starting with <tt>Camel</tt> or <tt>org.apache.camel.</tt>
*/
public static final Pattern CAMEL_KAFKA_FILTER_PATTERN
- = Pattern.compile("(?i)(Camel|org\\.apache\\.camel|kafka\\.)[\\.|a-z|A-z|0-9]*");
+ = Pattern.compile("(?i)(Camel|org\\.apache\\.camel|kafka\\.)[\\.|a-z|A-Z|0-9]*");
public KafkaHeaderFilterStrategy() {
initialize();