This mini project was started because i wanted to find a
way to host the messaging queue service via a web service.
A few considerations was necessary to decide how we wanted to do this
- The messaging service was to support AQMP a.k.a Advanced Message Queuing Protocol
- It should be able to support the usual HTTP protocol
- Ideally, it should be RESTful (not implemented yet, soon)
After discussing with my colleague, Liu Xiao Hui
aka as Oreh Linden (ahh the good ol'days in Linden Lab) we
decided that i should build one instead using CherryPy and
Pika.
What we have
- Create named Queues
- Send messages to named or default queues
- Create exchanges
- Send messages to named or default exchanges
Getting Started
- Download Celery 2.2.4
- Download CherryPy 3.2.0
- Download RabbitMQ 2.3.1
- Download Python 2.6+
- Download the codes to a dir named "WebBroker"
- CD to that dir and run "python ./main.py"
- Start the CeleryD process "celeryd --loglevel=debug"
- Start RabbitMQ in detached mode "sudo rabbitmq-server -detached"
Feedback
If you like what we did, please send feedback to [email protected]
I shall be glad to hear from you