我在JavaScript和node.js中使用amqllib,我想列出绑定到特定交易所的所有队列。什么是最好的水做到这一点?
o8x7eapl1#
您可能需要使用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.
/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.
1条答案
按热度按时间o8x7eapl1#
您可能需要使用HTTP API来执行此操作。
具体而言,这些终点中的一个或两个: