RabbitMQ Playground
Run ‘bbunny config’ to create a rabbitmq.yml conf file, edit it, play.
Lists all queues in the vhost.
+------+--------------+-------+-------+-------+--------+------+--------+ | Msgs | Name | Users | Ready | Noack | Commit | Acts | Memory | +------+--------- ----+-------+-------+-------+--------+------+--------+ | 5 | (D) works | 1 | 5 | 0 | 0 | 0 | 4768 | | 20 | (V) mapper | 10 | 0 | 20 | 0 | 0 | 14544 | ...
Creates a queue ‘works’.
Adds a message to the queue.
Pops a message from the queue.
Pop => MQ::Header... Body => "Improve Bugs Bunny"
Live inspection of the queue.
------- QUEUE 1 (application/octet-stream): Mode 1 Consumer: todo-908051891800 Body: Improve Bugs Bunny ------- QUEUE 2 (application/octet-stream): Mode 1 Consumer: todo-908051891800 Body: {:ruby => "object"}
Exchanges +---------------------------------------+---------+-----------+----------+ | Name | Kind | Durable | Delete | +---------------------------------------+---------+-----------+----------+ | amq.direct | Direct | X | | | amq.fanout | Fanout | X | | | amq.headers | Headers | X | | | amq.match | Headers | X | | | amq.topic | Topic | X | | | some.fanout | Fanout | | X | ...
Purge, delete, full CRUD ;)
Bugs Bunny will try to load your data using Marshal. You may define json on the conf file.
Bugs Bunny will load the nanite gem if you have it avaiable. So you can Unmarshal it’s objects.
-
Fork the project.
-
Make your feature addition or bug fix.
-
Add and run our cli cuke suite ;)
-
Send me a pull request.
Copyright © 2010 Marcos Piccinini. See LICENSE for details.