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

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 837c8d9f8e8 CAMEL-21885 - HeaderFilter Strategies: add lowerCase where 
it's not present - AWS SQS (#17527)
837c8d9f8e8 is described below

commit 837c8d9f8e82ed1e38c327fdccc87d35ab3e1cac
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Mar 20 15:42:14 2025 +0100

    CAMEL-21885 - HeaderFilter Strategies: add lowerCase where it's not present 
- AWS SQS (#17527)
    
    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