gpt4 book ai didi

javascript - 列出绑定(bind)到 RabbitMQ 中交换器的所有队列

转载 作者:太空宇宙 更新时间:2023-11-04 00:08:57 25 4
gpt4 key购买 nike

我在 javascript 和 node.js 中使用 amqllib我想列出绑定(bind)到特定交换的所有队列。最好的方法是什么?

最佳答案

RabbitMQ 团队监控 the rabbitmq-users mailing list并且有时只在 StackOverflow 上回答问题。

<小时/>

您将需要使用 HTTP API来做到这一点。

具体来说,这些端点之一或两个:

/api/exchanges/vhost/name/bindings/source   A list of all bindings in which a given exchange is the source.
/api/exchanges/vhost/name/bindings/destination A list of all bindings in which a given exchange is the destination.

关于javascript - 列出绑定(bind)到 RabbitMQ 中交换器的所有队列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50895137/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com