[
https://issues.apache.org/jira/browse/CAMEL-10497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15963067#comment-15963067
]
Stuart Ingram commented on CAMEL-10497:
---------------------------------------
Apologies for the slow response.
To clarify on the issue. The port specified is indeed the primary port used.
However the implementation requires 2 other ports per client connection which
was unexpected.
The effect of this is that if you are running locally and have no network
restrictions this implementation detail is invisible.
However if you put this in say a container with the primary port specified it
does not work because the 2 other ports are not exposed to traffic.
This is particularly difficult as the 2 ports created per client connection are
random.
This was not clear in the documentation and took some time to discover, hence
the request to note it in the documentation which may be important selection
criteria for another developer looking at this solution.
Let me know if this make sense.
Thanks for taking a look.
> Improve documentation detailing websocket implementation details
> ----------------------------------------------------------------
>
> Key: CAMEL-10497
> URL: https://issues.apache.org/jira/browse/CAMEL-10497
> Project: Camel
> Issue Type: Improvement
> Components: camel-websocket, documentation
> Affects Versions: 2.18.0
> Reporter: Stuart Ingram
> Assignee: onder sezgin
> Priority: Minor
> Fix For: Future
>
>
> Improve behavior documentation of this component, specifically around port
> workflows.
> While the initial port can be declaratively exposed for clients to connect
> the component opens up two random(?) ports per client connected rather than
> communicate through the single exposed port declared.
> This was not apparent from the documentation and makes this component
> somewhat inappropriate for containerization which would be useful to consider
> when evaluating the 3 websocket implementations currently available for Camel.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)