简体   繁体   English

在RabbitMQ中获取所有交换队列

[英]Get all queues of an exchange in RabbitMQ

Using RabbitMQ.Client, I wonder how these are possible: 使用RabbitMQ.Client,我想知道这些是如何可能的:

1- Get all queues names? 1-获取所有队列名称?

2- To what exchange a queue is bound? 2-到队列的交换是什么?

3- How to get all queues which are bound to an exchange? 3-如何获取所有绑定到交换的队列?

No, but you can find all this information using RabbitMQ Management HTTP API 不,但您可以使用RabbitMQ Management HTTP API找到所有这些信息

You have to enable the rabbtimq management plugin , using: 您必须启用rabbtimq管理插件 ,使用:

rabbitmq-plugins enable rabbitmq_management rabbitmq-plugins启用rabbitmq_management

After that you can use c# for execute HTTP calls. 之后,您可以使用c#执行HTTP调用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM