Skip to content
  • There are no suggestions because the search field is empty.

Issues with connecting to RabbitMQ - failed to create alive consumer: declare bindings failed: Exception (404) Reason: NOT_FOUND - no queue 'queue_name' in…

vhost /oddinfeed/xyz

Due to how exclusive queues work, the queue will be deleted upon disconnection (network hiccup, heartbeat timeout, etc.). If upon reconnection you try to bind to an old queue name, you will be faced with an error 404, as the queue has already been deleted. The suggestions to avoid this are:

  • Always re-declare queues before binding after a reconnection
  • Do not cache/reuse auto-generated queue names across connections