Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
RabbitMQ's "rabbitmqctl" as a Twisted Service.
Python JavaScript
Tree: 0dc9f50351

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.py
irabbitmqctl.py
rabbitmqctl_service.py
release_tar
webui-example.tac.py

README.py

#!/usr/bin/env python

"""
@file README.py
@author Alex Clemesha <clemesha@ucsd.edu>
@date 8/18/09

@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

Get the latest code:
@code
    $ git clone git@amoeba.ucsd.edu:txrabbitmq.git
@endcode

The recommend way of using `txrabbitmq` 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

@subsection usage Start up the RESTful Command/Data http service:

From top-level package directory run: 
@code
    $ twistd -n txrabbitmq
@endcode


@subsection usage Get realtime data from RabbitMQ:

From top-level package directory run: 
@code
    $ twistd -n txrabbitmq
@endcode

Open 2nd shell, navigate to the directory `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
"""

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