[
https://issues.apache.org/jira/browse/CAMEL-23532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Cosentino resolved CAMEL-23532.
--------------------------------------
Resolution: Fixed
> camel-vertx-websocket / camel-atmosphere-websocket / camel-iggy - use
> dedicated HeaderFilterStrategy aligned with sibling components
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-23532
> URL: https://issues.apache.org/jira/browse/CAMEL-23532
> Project: Camel
> Issue Type: Improvement
> Components: camel-atmosphere-websocket, camel-vertx-websocket
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 4.14.8, 4.18.3, 4.21.0
>
>
> The inbound consumers in {{camel-vertx-websocket}},
> {{camel-atmosphere-websocket}} and {{camel-iggy}} map externally supplied
> key/value data (WebSocket query/path parameters; Iggy message user-headers)
> into the Camel message header map without a dedicated
> {{HeaderFilterStrategy}}, unlike sibling consumer components aligned in
> CAMEL-23222 / CAMEL-23506 / CAMEL-23507 / CAMEL-23515.
> Align these components with that pattern:
> * {{camel-vertx-websocket}}: add a {{VertxWebsocketHeaderFilterStrategy}} and
> apply it in {{VertxWebsocketConsumer.populateExchangeHeaders()}} before
> mapping query/path params.
> * {{camel-atmosphere-websocket}}: add a header filter strategy and apply it
> in {{WebsocketConsumer}} before mapping query-map entries.
> * {{camel-iggy}}: add a header filter strategy and apply it in
> {{IggyFetchRecords}} before copying message user-headers.
> Use existing sibling implementations (e.g. {{CoAPHeaderFilterStrategy}},
> {{KafkaHeaderFilterStrategy}}) as the reference. Include tests and an
> upgrade-guide note, as done for the sibling components.
> Scope note: {{camel-iggy}} does not exist on the 4.14.x line - its change
> applies to main + 4.18.x only.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)