Skip to content

[backport camel-4.14.x] CAMEL-23759: camel-spring-ws - apply a HeaderFilterStrategy to inbound SOAP headers#24043

Open
oscerd wants to merge 1 commit into
apache:camel-4.14.xfrom
oscerd:backport/24030-to-camel-4.14.x
Open

[backport camel-4.14.x] CAMEL-23759: camel-spring-ws - apply a HeaderFilterStrategy to inbound SOAP headers#24043
oscerd wants to merge 1 commit into
apache:camel-4.14.xfrom
oscerd:backport/24030-to-camel-4.14.x

Conversation

@oscerd

@oscerd oscerd commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Backport of #24030

Cherry-pick of #24030 onto camel-4.14.x.

Original PR: #24030CAMEL-23759: camel-spring-ws - apply a HeaderFilterStrategy to inbound SOAP headers
Original author: @oscerd
Target branch: camel-4.14.x

Adjustments for 4.14.x

  • The upgrade-guide note was placed in camel-4x-upgrade-guide-4_14.adoc (4.14.7 → 4.14.8 section); the main-only 4.21 guide change from the source PR was dropped.
  • The test's Spring test-support import was changed from org.apache.camel.test.spring.junit6 to junit5 (4.14.x ships the JUnit 5 test support).

Original description

The spring-ws consumer mapped inbound SOAP header element/attribute names directly into the Camel Exchange header map. This adds a configurable headerFilterStrategy (default SpringWebserviceHeaderFilterStrategy, filtering the Camel*/camel* namespace case-insensitively in both directions) applied on the inbound path, aligning camel-spring-ws with camel-cxf/camel-mail/camel-coap.

Claude Code on behalf of Andrea Cosentino.

🤖 Generated with Claude Code

…d SOAP headers

The spring-ws consumer mapped inbound SOAP header element/attribute names directly into the Camel Exchange header map. This adds a configurable headerFilterStrategy (default SpringWebserviceHeaderFilterStrategy, filtering the Camel*/camel* namespace case-insensitively in both directions) applied on the inbound path, aligning camel-spring-ws with camel-cxf/camel-mail/camel-coap. Documented as a potential breaking change in the 4.21 upgrade guide.

Closes apache#24030
@oscerd oscerd added the backport indicate that a Pull request is a backport from a fix from the main branch label Jun 16, 2026
@oscerd oscerd requested review from davsclaus and gnodet June 16, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport indicate that a Pull request is a backport from a fix from the main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants