RabbitMQ - Random queues with the name "amq.gen- *" receiving auto-generation

I have a kit for sending messages to reliable queues from the server (NodeJS), and the client (application for Android) listens for messages in their respective queues (each Android device is looking for its corresponding queue, which is unique).

According to the RabbitMQ document, when we try to connect to a queue with an empty name (ie "), RabbitMQ generates a random queue with a name starting with" amq.gen- ". But where there is no client or server code, I see that I'm trying connect to the queue with an empty name, but still see how many random queues are generated.

Can someone help me figure out what other scripts might create random queues with the name "amq.gen - *"?

+7
source share
1 answer

If you create a queue with an empty name, a random queue name amq.gen-* will be generated. If you connect to a queue with an empty name, then, depending on the method, the last queue name declared in this channel will be used. If the queue has not been declared or the method does not support the empty queue name, an error will be generated.

See queue.declare for the queue.declare method and domain.queue-name domain documentation for domain.queue-name .

+3
source

All Articles