Hello,
I am facing a strange issue with AutomaticRecovery feature on Java with the following rabbitmq client.
<dependency>
<groupId>com.rabbitmq</groupId>
<artifactId>amqp-client</artifactId>
<version>5.10.0</version>
</dependency>
If I use predefined named queue, everything is working fine, but if I let rabbitMQ server returning a queue name by passing an empty string to queueDeclare, then the recovered queue is not having the same name. The result is that my messages are not send to the new queue but the old one. I didn't see any hint on that topic on the rabbitmq documentation, so I am wondering if it is a bug or not.
I just wanted to let the rmq server handle the uniqueness of the queue name instead of generating one randomly.
Any hint ?
2021-02-04 22:46:36.573 [AMQP Connection
127.0.0.1:5672] DEBUG AutorecoveringConnection - Recovering RecordedQueue[
name=amq.gen-fK8lpRqri6sKqY_OquUT4A, durable=false, autoDelete=false, exclusive=false, arguments=nullserverNamed=true, channel=AMQChannel(amqp://
mb...@127.0.0.1:5672/,1)]
2021-02-04 22:46:36.967 [AMQP Connection
127.0.0.1:5672] DEBUG AutorecoveringConnection - RecordedQueue[
name=amq.gen-G-9In27Xrv3ANpcmnpW88Q, durable=false, autoDelete=false, exclusive=false, arguments=nullserverNamed=true, channel=AMQChannel(amqp://
mb...@127.0.0.1:5672/,1)] has recovered