Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
RabbitMQ's "rabbitmqctl" as a Twisted Service.
Python JavaScript
tree: 74e4b19ed1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

#!/usr/bin/env python

@author Alex Clemesha <>
@date 8/18/09

txrabbitmq - RabbitMQ's `rabbitmqctl` as a Twisted Service.

@section Overview

Implements RabbitMQ's `rabbitmqctl` command line tool as a Twisted Service, 
Expose this functionality over several protocols, most importantly: HTTP and AMQP.

@section Install

The recommend way of using `txrabbitmq` is to create a `virtualenv` and
the install all dependencies with `pip` into the `virtualenv`
    $ virtualenv --no-site-packages txrabbitmq_env 
    $ pip -E txrabbitmq_env install -U twotp orbited twisted simplejson stompservice

@section Usage

@subsection Start up the RESTful Command/Data http service:
    $ twistd -n txrabbitmq

@subsection Push data from RabbitMQ
From top-level dir run: 
    $ twistd -n txrabbitmq

Open 2nd shell, navigate to dir `webui/push` and run:
    $ python #first shell
    $ orbited --config=rabbitmq.cfg #second shell

Open ports 8000 and 9000, to see commands data and push, respectively

print "This README's format is a massive Doxygen @mainpage hack. FIXME!!!"
Something went wrong with that request. Please try again.