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:22:22 UTC

[camel] branch master 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 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 6af49ac  CAMEL-16716: camel-kafka - Bug in header filter strategy regexp pattern
6af49ac is described below

commit 6af49ac13b2322b2f3e96eca9986e97e598d5acc
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();