Skip to content

[camel-4.14.x] Add inbound header filtering to CXF and Knative filter strategies#22415

Open
Croway wants to merge 1 commit intoapache:camel-4.14.xfrom
Croway:fix-header-filter-inbound-consistency-4.14.x
Open

[camel-4.14.x] Add inbound header filtering to CXF and Knative filter strategies#22415
Croway wants to merge 1 commit intoapache:camel-4.14.xfrom
Croway:fix-header-filter-inbound-consistency-4.14.x

Conversation

@Croway
Copy link
Copy Markdown
Contributor

@Croway Croway commented Apr 2, 2026

Summary

Backport of #22413 to camel-4.14.x.

  • Align CxfRsHeaderFilterStrategy, CxfHeaderFilterStrategy and KnativeHttpHeaderFilterStrategy with HttpHeaderFilterStrategy by adding setInFilterStartsWith(CAMEL_FILTER_STARTS_WITH) so that internal headers are filtered in both directions.

Test plan

  • mvn verify on camel-cxf-rest (42 tests passed)
  • mvn verify on camel-cxf-transport (12 tests passed)
  • mvn verify on camel-knative-http (162 tests passed)

Align CxfRsHeaderFilterStrategy, CxfHeaderFilterStrategy and
KnativeHttpHeaderFilterStrategy with HttpHeaderFilterStrategy by
adding setInFilterStartsWith(CAMEL_FILTER_STARTS_WITH) so that
internal headers are filtered in both directions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants