You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "oscerd (via GitHub)" <gi...@apache.org> on 2026/06/12 12:55:25 UTC

[PR] [backport camel-4.14.x] CAMEL-23588: camel-undertow - filter the legacy websocket.* exchange-header prefix [camel]

oscerd opened a new pull request, #23993:
URL: https://github.com/apache/camel/pull/23993

   Backport to `camel-4.14.x` of CAMEL-23588 (main commit `d5a717dd0f8`).
   
   ## Note: adapted, not a verbatim backport
   
   On `camel-4.14.x`, `UndertowHeaderFilterStrategy` is the **`@deprecated`** implementation extending `DefaultHeaderFilterStrategy` (on main / 4.18.x it was rewritten to extend `HttpHeaderFilterStrategy`). A verbatim cherry-pick is therefore impossible. The change is adapted to 4.14.x's structure: the existing `initialize()` now adds the legacy `websocket.` prefix to the in/out filter prefixes (alongside `Camel` / `camel`).
   
   The `DefaultHeaderFilterStrategy.doFiltering` `lowerCase` fallback matches the prefix case-insensitively, so `websocket.*` headers (in any case) are filtered in both directions — behaviour equivalent to main.
   
   ## Changes
   
   - `UndertowHeaderFilterStrategy`: add `WEBSOCKET_FILTER_STARTS_WITH = "websocket."` and include it in `setOutFilterStartsWith` / `setInFilterStartsWith`.
   - `camel-4x-upgrade-guide-4_14.adoc`: add the `camel-undertow` "potential breaking change" entry, grouped with the existing `camel-vertx-websocket` / `camel-atmosphere-websocket` (CAMEL-23532) family.
   
   The matching entry will be synced to the `4_14` upgrade guide on `main` in a separate doc-sync PR, per the upgrade-guide policy.
   
   ---
   _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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [backport camel-4.14.x] CAMEL-23588: camel-undertow - filter the legacy websocket.* exchange-header prefix [camel]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd merged PR #23993:
URL: https://github.com/apache/camel/pull/23993


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org