How can I list or discover queues on a RabbitMQ exchange using python?
问题 I need to have a python client that can discover queues on a restarted RabbitMQ server exchange, and then start up a clients to resume consuming messages from each queue. How can I discover queues from some RabbitMQ compatible python api/library? 回答1: As far as I know, there isn't any way of doing this. That's nothing to do with Python, but because AMQP doesn't define any method of queue discovery. In any case, in AMQP it's clients (consumers) that declare queues: publishers publish messages