A realtime in browser viewer for AMQP messages
-
Clojure
-
Javascript
-
Websockets
-
sammy.js
- Create temporary queues to view messages on your chosen exchange and routing key.
- New messages are displayed in real-time and json is nicely formatted and highlighted.
- Remembers previous queues.
- Uses web-socket-js for browsers without native websockets but with flash
Run
-
Download and extract queue-viewer-0.2-SNAPSHOT.tar.bz2
-
cd to the directory
-
type:
java -server -jar queue-viewer-0.2-SNAPSHOT-standalone.jar --rabbithost myrabbitserver --webport 9090 --staticdir /path-to-app/public
-
go to http://localhost:9090 in a browser
-
click "All test"
-
click "Send test message" to test
Dev
- Clojure 1.1
- Jetty 7.2
- compojure with this patch applied to make it work with Jetty 7
- jquery 1.4+
- sammy.js
- prettify.js
- web-socket-js
I needed a nice way to view messages from various places and thought it would be a good way to try a proper clojure app and to experiment with websockets, instead of using python.
Chris McDevitt
EPL