[ 
https://issues.apache.org/jira/browse/CAMEL-27924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-27924:
--------------------------------
    Description: 
Found while improving the option descriptions of camel-undertow for CAMEL-23832 
(commit 
https://github.com/apache/camel/commit/5f542b6878233d6013e30e1f58158711a5c8e283,
 pull request https://github.com/apache/camel/pull/31180).
These are separate problems of the component; the descriptions change only 
documents the current behavior.

h4. 1. WebSocket producers create an XNIO worker they never use
{{UndertowProducer.doStart}} creates an XNIO worker (and SSL) for WebSocket 
producers too.

h4. 2. Smaller issues
The handlers list is not trimmed, so "a, b" fails the lookup of " b". In 
UndertowComponent.createEndpoint, "if (undertowHttpBinding == null) 
undertowHttpBinding = getUndertowHttpBinding();" does nothing. 
websocket.sendToAll and websocket.connectionKey have no label. CamelHttpMethod 
and Host are labelled producer but the consumer sets them too. 
EventType.ONERROR is never fired. The @Metadata texts of UndertowHostOptions 
are not generated anywhere.


_Claude Code on behalf of davsclaus_

  was:
Found while improving the option descriptions of camel-undertow for CAMEL-23832 
(pull request https://github.com/apache/camel/pull/31180).
These are separate problems of the component; the descriptions change only 
documents the current behavior.

h4. 1. WebSocket producers create an XNIO worker they never use
{{UndertowProducer.doStart}} creates an XNIO worker (and SSL) for WebSocket 
producers too.

h4. 2. Smaller issues
The handlers list is not trimmed, so "a, b" fails the lookup of " b". In 
UndertowComponent.createEndpoint, "if (undertowHttpBinding == null) 
undertowHttpBinding = getUndertowHttpBinding();" does nothing. 
websocket.sendToAll and websocket.connectionKey have no label. CamelHttpMethod 
and Host are labelled producer but the consumer sets them too. 
EventType.ONERROR is never fired. The @Metadata texts of UndertowHostOptions 
are not generated anywhere.


_Claude Code on behalf of davsclaus_


> camel-undertow: WebSocket producers create an unused worker, handler names 
> not trimmed
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27924
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27924
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-undertow
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.25.0
>
>
> Found while improving the option descriptions of camel-undertow for 
> CAMEL-23832 (commit 
> https://github.com/apache/camel/commit/5f542b6878233d6013e30e1f58158711a5c8e283,
>  pull request https://github.com/apache/camel/pull/31180).
> These are separate problems of the component; the descriptions change only 
> documents the current behavior.
> h4. 1. WebSocket producers create an XNIO worker they never use
> {{UndertowProducer.doStart}} creates an XNIO worker (and SSL) for WebSocket 
> producers too.
> h4. 2. Smaller issues
> The handlers list is not trimmed, so "a, b" fails the lookup of " b". In 
> UndertowComponent.createEndpoint, "if (undertowHttpBinding == null) 
> undertowHttpBinding = getUndertowHttpBinding();" does nothing. 
> websocket.sendToAll and websocket.connectionKey have no label. 
> CamelHttpMethod and Host are labelled producer but the consumer sets them 
> too. EventType.ONERROR is never fired. The @Metadata texts of 
> UndertowHostOptions are not generated anywhere.
> _Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to