Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple example of relaying messages from RabbitMQ to a web client using socket.io and expressjs.
JavaScript
branch: master
Failed to load latest commit information.
.gitignore
README.md
index.html
index.js
package.json

README.md

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

  1. Install RabbitMQ and boot the server
  2. npm install
  3. node index.js
  4. visit http://localhost:3000
  5. 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.

Something went wrong with that request. Please try again.