RabbitMQ - Restart virtual host (rabbitmqctl restart_vhost)

The rabbitmqctl restart_vhost command can be used to restart a virtual hosts. In this example, the "foo" virtual host is restarted. If the virtual host is already running, something like this should be returned.

~]# rabbitmqctl restart_vhost --vhost foo
Trying to restart vhost 'foo' on node 'rabbit@server001' ...
Vhost 'foo' is already running on node 'rabbit@server001'

 




Did you find this article helpful?

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

Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.





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