[rabbitmq-discuss] Is it error?

Matthias Radestock matthias at rabbitmq.com
Fri Feb 8 00:04:07 GMT 2013


On 06/02/13 20:12, Тимур wrote:
> I have some manage CLI script which must show info about exchanges and
> queues and must declare it if need. How i can take info about this
> wihout web managment plugin?

As Alvaro said, if you simply want to ensure that certain 
exchanges/queues exist, then just declare them without first checking 
whether they exist.

If, OTOH, you really must obtain a list of exchanges/queues then the 
management plug-in, or running rabbitmqctl, or Erlang-hackery are the 
only means to do that. NB: It is rare for applications (other than 
monitoring apps) to need this information, and this is often an 
indication of a flaw in the design.

Matthias.


More information about the rabbitmq-discuss mailing list