0

So I created some queues with the command below...

rabbitmqadmin --vhost=blocking-mq declare queue name="data-api-queue" durable=true auto_delete=false 'arguments={"x-message-ttl":1200000,"x-expires":1200000}'
rabbitmqadmin --vhost=blocking-mq declare queue name="interaction-api-queue" durable=true auto_delete=false 'arguments={"x-message-ttl":1200000,"x-expires":1200000}'
rabbitmqadmin --vhost=blocking-mq declare queue name="realtime-api-queue" durable=true auto_delete=false 'arguments={"x-message-ttl":1200000,"x-expires":1200000}'
rabbitmqadmin --vhost=blocking-mq declare queue name="blocking-api-queue" durable=true auto_delete=false 'arguments={"x-message-ttl":1200000,"x-expires":1200000}'

But after restarting my machine I see that they are deleted. I created them again and restarted and that occurred again. But exchange declared in a same-ish manner(with rabbitmqadmin) persisted and also queues of the other vhost are still there too...

N.B. The persisting queues of the other vhost was created via the management panel.

How to solve this issue(without declaring queues after every reboot)...???

MohammadArik
  • 71
  • 1
  • 9

1 Answers1

1

Team RabbitMQ provided an answer here:

https://github.com/rabbitmq/rabbitmq-server/discussions/6751


NOTE: the RabbitMQ team monitors the rabbitmq-users mailing list and only sometimes answers questions on StackOverflow.

Luke Bakken
  • 8,993
  • 2
  • 20
  • 33