oscerd opened a new pull request, #24030: URL: https://github.com/apache/camel/pull/24030
## Description The `spring-ws` consumer maps inbound SOAP header element/attribute names straight into the Camel `Exchange` header map. This aligns `camel-spring-ws` with the rest of the component catalog (`camel-cxf`, `camel-mail`, `camel-coap`, ...) by applying a `HeaderFilterStrategy` on the inbound path. - Adds a configurable `headerFilterStrategy` endpoint option (`common` label). - Defaults to a new `SpringWebserviceHeaderFilterStrategy` that filters the `Camel*` / `camel*` namespace (case-insensitive) in both the inbound and outbound directions, mirroring `CoAPHeaderFilterStrategy` / `IggyHeaderFilterStrategy`. - Inbound SOAP header element/attribute names in that namespace are no longer promoted to `Exchange` headers. ## Breaking change Documented in the 4.21 upgrade guide. A custom `headerFilterStrategy` restores the previous behaviour. ## Testing Adds `ConsumerSoapHeaderFilterTest`, which drives the consumer with a crafted SOAP header and asserts a regular header element is still propagated while an internal `Camel*` header is filtered. The full `camel-spring-ws` module suite passes (92 tests, 0 failures). _Claude Code on behalf of Andrea Cosentino._ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
