How can I check whether a RabbitMQ message queue exists or not?
Don’t bother checking. queue.declare is an idempotent operation. So, if you run it once, twice, N times, the result will still be the same. If you want to ensure that the queue exists, just declare it before using it. Make sure you declare it with the same durability, exclusivity, auto-deleted-ness every time, otherwise you’ll get … Read more