davsclaus commented on code in PR #29845:
URL: https://github.com/apache/camel/pull/29845#discussion_r4580046210


##########
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:
   Applied in 41a7b49ea0e3 (also in the catalog copy of the page).
   
   _Claude Code on behalf of davsclaus_



-- 
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]

Reply via email to