oscerd opened a new pull request, #23352: URL: https://github.com/apache/camel/pull/23352
## Backport of #23285 to `camel-4.14.x` Cherry-pick of #23285 (squash `1e776238202e`) onto `camel-4.14.x`, for the **4.14.8** release line. **Original PR:** apache/camel#23285 — CAMEL-23532: camel-vertx-websocket / camel-atmosphere-websocket / camel-iggy - use dedicated HeaderFilterStrategy aligned with sibling components ### Scope on 4.14.x (iggy excluded) `camel-iggy` does **not exist on the 4.14.x branch**, so all iggy changes from #23285 (the new `IggyHeaderFilterStrategy`, the `IggyEndpoint` option, the `IggyFetchRecords` filter application, the iggy generated metadata and endpoint-DSL) are **dropped** from this backport. The 4.14.x backport covers only: - **camel-vertx-websocket** — new `VertxWebsocketHeaderFilterStrategy` + `headerFilterStrategy` endpoint option, applied in `VertxWebsocketConsumer.populateExchangeHeaders()` before mapping query and path parameters. - **camel-atmosphere-websocket** — applies the existing inherited `HttpHeaderFilterStrategy` in `WebsocketConsumer` before mapping query parameters; no new class/option needed. ### Backport notes - Both websocket consumers have the same base shape on 4.14.x as on `main` — their source patches applied cleanly without API drift. - Upgrade-guide note placed in `camel-4x-upgrade-guide-4_14.adoc` (no 4_21 guide exists on this branch). The matching entry on `main`'s `camel-4x-upgrade-guide-4_14.adoc` is handled in a separate doc-sync PR. - Generated metadata (configurer, URI factory, vertx-websocket component & catalog JSON, endpoint-DSL builder factory) regenerated against the 4.14.x baseline; unrelated stale-state regen drift reverted. - Both components compile on 4.14.x; `VertxWebsocketHeaderFilterStrategyTest` passes (4/4). (No iggy test on this branch — module absent.) ### Original description Aligns `camel-vertx-websocket` and `camel-atmosphere-websocket` (iggy excluded on this branch) with the `HeaderFilterStrategy` pattern already adopted across the component catalog (CAMEL-23222 `camel-coap`, CAMEL-23507 `camel-cometd`, CAMEL-23515 `camel-nats`, CAMEL-23516 `camel-xmpp`). --- _Claude Code on behalf of Andrea Cosentino_ -- 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]
