You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2025/03/20 14:37:04 UTC

(camel) branch CAMEL-21885-aws created (now 41ecdf95d68)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch CAMEL-21885-aws
in repository https://gitbox.apache.org/repos/asf/camel.git


      at 41ecdf95d68 CAMEL-21885 - HeaderFilter Strategies: add lowerCase where it's not present - AWS SQS

This branch includes the following new commits:

     new 41ecdf95d68 CAMEL-21885 - HeaderFilter Strategies: add lowerCase where it's not present - AWS SQS

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(camel) 01/01: CAMEL-21885 - HeaderFilter Strategies: add lowerCase where it's not present - AWS SQS

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch CAMEL-21885-aws
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 41ecdf95d68a29a16d6bb60e0ca311f59de2a0ae
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 20 15:36:25 2025 +0100

    CAMEL-21885 - HeaderFilter Strategies: add lowerCase where it's not present - AWS SQS
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../org/apache/camel/component/aws2/sqs/Sqs2HeaderFilterStrategy.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/components/camel-aws/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2HeaderFilterStrategy.java b/components/camel-aws/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2HeaderFilterStrategy.java
index 4eef1158a10..ee9e7ec85b7 100644
--- a/components/camel-aws/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2HeaderFilterStrategy.java
+++ b/components/camel-aws/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2HeaderFilterStrategy.java
@@ -24,7 +24,9 @@ public class Sqs2HeaderFilterStrategy extends DefaultHeaderFilterStrategy {
     }
 
     protected void initialize() {
+        setLowerCase(true);
         // filter headers begin with "Camel" or "org.apache.camel"
         setOutFilterPattern("(breadcrumbId|Camel|org\\.apache\\.camel)[\\.|a-z|A-z|0-9]*");
+
     }
 }