I have seen a little bit, but I can not find a good programmatic way to list the queues in a rabbit MQ Server.
This is important because I need to clean up their queues and exchanges when I am done with them. I do not always have a good "done" event that can be used to trigger cleaning, so I want to do it with a garbage collection model. If I can list the queues, then I I can verify that the objects with which they are related do not prepare more entries and clean them.
I know that I need to rabbitmqctl
to do this, but it requires more privileges.
Since I can not find a way to list the queue to the program, I am keeping a list of names in the database. It works, but it's ugly.
You can use Alice - this is a comfortable interface to execute rabbitmqctl commands < / P>
Comments
Post a Comment