gnodet-bot commented on code in PR #29845: URL: https://github.com/apache/camel/pull/29845#discussion_r4579406912
########## components/camel-atmosphere-websocket/src/main/docs/atmosphere-websocket-component.adoc: ########## @@ -45,6 +45,17 @@ An atmopshere-websocket endpoint can either write data to the socket or read from the socket, depending on whether the endpoint is configured as the producer or the consumer, respectively. +== Connection Events + +When the init-param `events` of the `CamelWebSocketServlet` is set to `true`, the consumer also routes an exchange, +without a body, when a websocket connection opens, closes or fails. The `CamelAtmosphereWebsocketEventType` header +holds the type of the event (`1` open, `0` close, `-1` error), and the `CamelAtmosphereWebsocketConnectionKey` header +the key of the connection. Review Comment: 🔤 **Nit:** The verb `holds` from the previous clause is elided here (zeugma). Adding it improves readability. ```suggestion holds the key of the connection. ``` -- 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]
