This is a small application to demonstrate how to connect to a RabbitMQ
exchange and stream its messages over SocketIO, in Python.

To install:

  mkvirtualenv wsrabbit
  pip install -r requirements.txt

(That 'mkvirtualenv' line assumes that you have virtualenv and
virtualenvwrapper installed, which allow you to create little isolated Python
environments.  If you just want to install the packages to your system Python,
you can skip that line.)

To run:


You should then open your browser to localhost:8000, and open the Javascript

In another terminal, do this:

  workon wsrabbit
  python HELLO

In your javascript console you should see this:

  {message: "HELLO"}

Congratulations!  You have now sent a message through RabbitMQ and out over a
SocketIO connection.