Hi,
I have a problem about sending a message from one service to another one through RabbitMq running in Docker.
I got this message on the console.
Auto-declaring a non-durable, auto-delete, or exclusive Queue (advertisement-queue) durable:false, auto-delete:false, exclusive:false. It will be redeclared if the broker stops and is restarted while the connection factory is alive, but all messages will be lost.
Shutdown Signal: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'name-queue' in vhost '/': received 'false' but current is 'true', class-id=50, method-id=10)
How can I fix it? Please help me.
Here is my application properties file in Advertisement service
Here is the code listening rabbitMq in report service.