查看当前rabbitmq上的vhost列表:
# rabbitmqctl list_vhosts Listing vhosts ... / vhost2
添加名为demo的vhost虚似主机:
rabbitmqctl add_vhost demo
删除名为demo的vhost虚拟主机
rabbitmqctl delete_vhost demo
查看当前rabbitmq上的vhost列表:
# rabbitmqctl list_vhosts Listing vhosts ... / vhost2
添加名为demo的vhost虚似主机:
rabbitmqctl add_vhost demo
删除名为demo的vhost虚拟主机
rabbitmqctl delete_vhost demo