In this post, I briefly announce the release of bowerick version 1.99.17. Compared to the next post I have planned, this is not the chronological but the, in my opinion, logical order.
Changes compared to the previous bowerick release are:
- Enable heartbeat for Web Socket (WS) client connections.
- Add simple examples for connecting to the broker from a web browser.
Having a heartbeat for WS client connections avoids disconnects due to timeout when using bowerick as WS client. The default values (10000 in ms) can be overridden by re-binding the *ws-client-ping-heartbeat* and *ws-client-pong-heartbeat* global dynamic variables.
In addition, I added two simple examples for using Message-oriented Middleware WS connections from a web browser. Playing with these examples actually was what motivated me to add the WS client heartbeat as the timeout disconnects became a little annoying over time. In the next post or posts, I plan to write about the WS web browser examples.
I hope bowerick is useful for you. I am happy about any constructive feedback and criticism.
Hi, I recently discovered bowerick and really like it. It’s simple but powerful tool. But one thing buggering me. It not possible to add any message properties. Not a big deal, but it stop me to change on bowerick from my custom solution.
Hi,
thanks a lot for your feedback.
Based on your feedback, I added some “more advanced message handling” functionality to bowerick, which I briefly announce in the following post:
https://ruedigergad.com/2017/09/13/bowerick-2-1-0-released/
For some more details, you can also look at the tests in:
https://github.com/ruedigergad/bowerick/blob/master/test/bowerick/test/advanced_message_handling.clj
I hope this is the functionality you had in mind?
Cheers,
Ruediger
Pingback: bowerick 2.1.0 Released | ruedigergad