Archive for May, 2010
Stomple: JMS via WebSockets
Sunday, May 9th, 2010I've spent a couple of days working on Stomple (pronounced "stumble"). Stomple aims to be an easy to use, full-featured and robust Stomp client for JavaScript. You can watch a screencast of the transactional chat example. Screencast of transactional chat. What is Stomp? Stomp provides an interoperable wire format so that any ...
Circuit Breaker: a small but real-life example of Clojure protocols and datatype
Wednesday, May 5th, 2010(Update July 2nd 2010: I've cleaned up the code and git repo. Inlined the protocol function definitions in the state records for native-platform speed. The policy can now specify which exceptions should be considered errors: this is really useful in real life when you don't want to trip the circuit breaker ...