摘要:
[root@server-1 rabbitmq]# cat /usr/lib/rabbitmq/bin/rabbitmq-defaults #!/bin/sh -e ## The contents of this file are subject to the Mozilla Public Lice 阅读全文
摘要:
查看RabbitMQ状态: [root@server-1 rabbitmq]# rabbitmqctl status Status of node 'rabbit@server-1' ... [{pid,5077}, {running_applications, [{rabbitmq_managem 阅读全文
摘要:
上篇文章把单机集群搭建好了,可以开始验证普通集群的相关功能了. 我们首先在管理后台(15672,15673 都可以)添加一个用户,并用新用户登录,添加一个虚拟主机 由于是在一台机器上模拟集群,所以我们把创建连接的工具类小改一下,将端口号作为入参. public static class Connec 阅读全文