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 <[email protected]>
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 <[email protected]>
---
 .../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]*");
+
     }
 }

Reply via email to