[backport camel-4.18.x] CAMEL-23532: camel-vertx-websocket / camel-atmosphere-websocket / camel-iggy - use dedicated HeaderFilterStrategy aligned with sibling components#23313
Merged
oscerd merged 1 commit intoMay 19, 2026
Conversation
…el-iggy - use dedicated HeaderFilterStrategy aligned with sibling components Apply a HeaderFilterStrategy on the inbound header mapping of the vertx-websocket, atmosphere-websocket and iggy consumers, aligning them with the pattern already used by camel-coap (CAMEL-23222), camel-cometd (CAMEL-23507) and camel-nats (CAMEL-23515). vertx-websocket and iggy gain a new VertxWebsocketHeaderFilterStrategy / IggyHeaderFilterStrategy plus a headerFilterStrategy endpoint option; atmosphere-websocket reuses the HeaderFilterStrategy it already inherits from the HTTP/servlet stack. Includes unit tests and an upgrade-guide note. Closes apache#23285 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Andrea Cosentino <ancosen@gmail.com> (cherry picked from commit 1e77623)
davsclaus
approved these changes
May 19, 2026
oscerd
added a commit
that referenced
this pull request
May 19, 2026
…socket / camel-iggy 4.18 upgrade-guide entry to main (#23315) The 4.18.x backport (#23313) adds the HeaderFilterStrategy upgrade-guide note to camel-4x-upgrade-guide-4_18.adoc on the camel-4.18.x branch. Per the project policy, the version-specific upgrade guides on main are the canonical history across all releases, so the same entry must also be added to camel-4x-upgrade-guide-4_18.adoc on main. Signed-off-by: Andrea Cosentino <ancosen@gmail.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #23285 to
camel-4.18.xCherry-pick of #23285 (squash
1e776238202e) ontocamel-4.18.x, for the 4.18.3 release line.Original PR: #23285 — CAMEL-23532: camel-vertx-websocket / camel-atmosphere-websocket / camel-iggy - use dedicated HeaderFilterStrategy aligned with sibling components
Backport notes
camel-4.18.x,IggyFetchRecordsusesmessage.userHeaders().ifPresent(...)withStringkeys /.value()(vs. main'sMap/.toString()/.asString()). TheHeaderFilterStrategyapplication was adapted to the 4.18.x shape (filtered per-entry loop inside theifPresentblock) rather than taking main's incompatible version.camel-4x-upgrade-guide-4_18.adoc(the 4_21 guide does not exist on this branch). The matching entry onmain'scamel-4x-upgrade-guide-4_18.adocis handled in a separate doc-sync PR.VertxWebsocketHeaderFilterStrategyTestandIggyHeaderFilterStrategyTestpass (4/4 each).Original description
Aligns
camel-vertx-websocket,camel-atmosphere-websocketandcamel-iggywith theHeaderFilterStrategypattern already adopted across the component catalog (CAMEL-23222camel-coap, CAMEL-23507camel-cometd, CAMEL-23515camel-nats). vertx-websocket and iggy gain a new*HeaderFilterStrategyplus aheaderFilterStrategyendpoint option; atmosphere-websocket reuses theHeaderFilterStrategyit already inherits from the HTTP/servlet stack.Claude Code on behalf of Andrea Cosentino