oscerd opened a new pull request, #23357: URL: https://github.com/apache/camel/pull/23357
## Summary Backport of [#23221](https://github.com/apache/camel/pull/23221) onto `camel-4.18.x`. `Sqs2HeaderFilterStrategy` and `Sns2HeaderFilterStrategy` only configured an outbound filter. This change adds `setInFilterStartsWith(CAMEL_FILTER_STARTS_WITH)` so the inbound direction is aligned with the sibling strategies (Kafka, Mail, CoAP, Google Pub/Sub, ...). The existing outbound regex (which also catches `breadcrumbId` and `org.apache.camel.*`) is unchanged. Includes: - The strategy fix in both `camel-aws2-sqs` and `camel-aws2-sns`. - Focused unit tests in both modules. - The matching `camel-4x-upgrade-guide-4_18.adoc` entry (sibling doc-sync PR #23354 syncs the same entry into `main`). Original PR: #23221 Original author: @oscerd Jira: https://issues.apache.org/jira/browse/CAMEL-23506 ## Test plan - [x] `mvn clean install -DskipTests` from the worktree root — passes (exit 0). - [x] Cherry-pick applied cleanly (no conflict resolution required). - [x] Upgrade-guide entry appended after the existing `camel-iggy` section, matching the sibling backport's pattern (#23313). _Claude Code on behalf of Andrea Cosentino_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
