Relaying messages from RabbitMQ to web clients
This simple example is an expressjs (3.x) application that uses socket.io to broadcast messages to clients when those messages are received on a queue in RabbitMQ.
Setup
- Install RabbitMQ and boot the server
npm install
node index.js
- visit http://localhost:3000
- Broadcast a message from RabbitMQ (if you don't know what you're doing, broadcast a message to the
amq.topic
exchange).
Feel free to reach out to me through an issue if you experience problems.