[ 
https://issues.apache.org/jira/browse/CAMEL-12681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16555341#comment-16555341
 ] 

ASF GitHub Bot commented on CAMEL-12681:
----------------------------------------

oscerd closed pull request #2439: CAMEL-12681 : BreadcrumbId not required for 
aws-sqs aws-sns endpoints
URL: https://github.com/apache/camel/pull/2439
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/SnsHeaderFilterStrategy.java
 
b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/SnsHeaderFilterStrategy.java
index fb51835a5b4..1aa2e06b981 100644
--- 
a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/SnsHeaderFilterStrategy.java
+++ 
b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/SnsHeaderFilterStrategy.java
@@ -25,6 +25,6 @@ public SnsHeaderFilterStrategy() {
 
     protected void initialize() {
         // filter headers begin with "Camel" or "org.apache.camel"
-        setOutFilterPattern("(Camel|org\\.apache\\.camel)[\\.|a-z|A-z|0-9]*"); 
+        
setOutFilterPattern("(breadcrumbId|Camel|org\\.apache\\.camel)[\\.|a-z|A-z|0-9]*");
 
     }
 }
diff --git 
a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsHeaderFilterStrategy.java
 
b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsHeaderFilterStrategy.java
index fb5f425ba2e..78fea47052f 100644
--- 
a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsHeaderFilterStrategy.java
+++ 
b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsHeaderFilterStrategy.java
@@ -25,6 +25,6 @@ public SqsHeaderFilterStrategy() {
 
     protected void initialize() {
         // filter headers begin with "Camel" or "org.apache.camel"
-        setOutFilterPattern("(Camel|org\\.apache\\.camel)[\\.|a-z|A-z|0-9]*"); 
+        
setOutFilterPattern("(breadcrumbId|Camel|org\\.apache\\.camel)[\\.|a-z|A-z|0-9]*");
 
     }
 }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> BreadcrumbId not required for aws-sqs aws-sns endpoints
> -------------------------------------------------------
>
>                 Key: CAMEL-12681
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12681
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws
>    Affects Versions: 2.21.1
>            Reporter: Saravanakumar Selvaraj
>            Priority: Minor
>             Fix For: 2.22.1, 2.23.0, 2.21.3
>
>
> Currently in each message sent through aws-sqs aws-sns endpoints, there is an 
> extra message attribute 'breadcrumbId' appears.
> BreadcrumbId need not be passed to aws-sqs aws-sns producer endpoints.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to