[
https://issues.apache.org/jira/browse/CAMEL-23759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089343#comment-18089343
]
Andrea Cosentino commented on CAMEL-23759:
------------------------------------------
Backport to camel-4.14.x: PR #24043 (cherry-pick of #24030; upgrade-guide note
in the 4_14 guide; test import junit6->junit5; full reactor skipTests build
green, 11:29). Both maintenance backports now open: 4.18.x #24042, 4.14.x
#24043.
_Claude Code on behalf of Andrea Cosentino_
> camel-spring-ws: apply a HeaderFilterStrategy to inbound SOAP headers
> ---------------------------------------------------------------------
>
> Key: CAMEL-23759
> URL: https://issues.apache.org/jira/browse/CAMEL-23759
> Project: Camel
> Issue Type: Improvement
> Components: camel-spring-ws
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 4.14.8, 4.18.3, 4.21.0
>
>
> The spring-ws consumer maps the names of inbound SOAP header elements and
> attributes directly into the Camel Exchange header map. Other Camel
> components apply a HeaderFilterStrategy on the inbound path so that the
> internal Camel / camel / org.apache.camel.* header namespace is managed by
> Camel rather than taken verbatim from external input.
> This adds a configurable headerFilterStrategy endpoint option to
> camel-spring-ws, defaulting to a new SpringWebserviceHeaderFilterStrategy
> that filters the Camel*/camel* namespace (case-insensitive) in both inbound
> and outbound directions, for consistency with components such as camel-cxf,
> camel-mail and camel-coap.
> Potential breaking change: inbound SOAP header element/attribute names in the
> Camel*/org.apache.camel.* namespace are no longer propagated as Exchange
> headers. A custom headerFilterStrategy can be supplied to restore the
> previous behaviour. Documented in the 4.21 upgrade guide.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)