Bootstrap FreeKB - RabbitMQ - Create Queue using the rabbitmqadmin command
RabbitMQ - Create Queue using the rabbitmqadmin command

Updated:   |  RabbitMQ articles

This assumes you have downloaded and setup the rabbitmqadmin command line tool.

declare queue can be used to create a queue. In this example, a durable queue named queue001 is created in vhost /.

rabbitmqadmin declare queue --vhost=foo name=a.queue durable=true

 

And here is how you would include arguments.

rabbitmqadmin declare queue --vhost=foo name=a.queue durable=true arguments='{"x-queue-mode":"lazy"}'

 

If the queue is created, the following should be returned.

queue declared

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter e51816 in the box below so that we can be sure you are a human.