Есть ли способ перечислить очереди в rabbitmq через пика?

StackOverflow https://stackoverflow.com//questions/9652295

  •  11-12-2019
  •  | 
  •  

Вопрос

Я знаю, что мы можем сделать это, чтобы перечислить очередь в щите.

rabbitmqctl list_queues
.

Но как я могу сделать это через пика?

Это было полезно?

Решение

No.

Pika is an AMQP library.

If you want to manage an MQ Broker, then you need an MQ Broker management tool. Fortunately, RabbitMQ comes with such a tool if you install a recent version of RabbitMQ such as 2.7.1 and you install the RabbitMQ management plugins. That gives you a web GUI as well as a RESTful API that you can use in your scripts.

But it's all outside of the scope of AMQP itself.

http://www.rabbitmq.com/management.html for the management plugin with a web GUI and http://www.rabbitmq.com/management-cli.html for a CLI type of interface.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top