Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
tests
twisted/plugins
webui
.gitignore
Doxyfile
README
irabbitmqctl.py
rabbitmqctl_service.py
webui-example.tac.py

README

@mainpage 
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 `txrabbit` is to create a `virtualenv` and
the install all dependencies with `pip` into the `virtualenv`
----------------------------------------------------------------
@code
    $ virtualenv --no-site-packages txrabbitmq_env 
    $ pip -E txrabbitmq_env install -U twotp orbited twisted simplejson stompservice
@endcode


@section Usage

RESTful Command / Data view
---------------------------
@code
    $ twistd -n restrabbitmqctl
@endcode


Push data from RabbitMQ
-----------------------

* From top-level dir run: 

@code
    $ twistd -n restrabbitmqctl
@endcode


* Open 2 shells to dir `webui/push` and run:

@code
    $ python data_producer.py #first shell
    $ orbited --config=rabbitmq.cfg #second shell
@endcode


* Open ports 8000 and 9000, to see commands data and push, respectively
Something went wrong with that request. Please try again.