davsclaus opened a new issue, #3377:
URL: https://github.com/apache/camel-kamelets/issues/3377

   Many partners and public services push data over WebSocket: market data, 
notifications and status feeds. The catalog has no WebSocket Kamelet. Add 
**`websocket-source`** and **`websocket-sink`** on the Camel `vertx-websocket` 
component, as a client:
   
   - **`websocket-source`:** connects to a `ws://` or `wss://` URL and sends 
each message it receives on. It connects again when the connection drops 
(`reconnectInterval`), and can send a first message after connecting, such as a 
subscribe request.
   - **`websocket-sink`:** connects to a URL and sends each message to it as 
text or bytes.
   - **Options:** the URL (with a pattern), headers for the handshake (such as 
an `Authorization` token, as a credential), TLS through the global 
`camel.ssl.*` settings, and the reconnect interval.
   - **Security:** the URL is a property, and message headers cannot change 
where the sink sends: the `CamelVertxWebsocket*` headers are removed first.
   - **Citrus tests:** a local WebSocket server, which can be a small Camel 
route in the test. The source receives what the server pushes, the sink's 
messages reach the server, and the source reconnects after the server restarts.
   
   Both Kamelets are Preview.
   
   _Claude Code on behalf of Claus Ibsen_
   


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