安装目录下conf/activemq.xml
添加如下内容:
<plugins>
<simpleAuthenticationPlugin>
<users>
<authenticationUser username="zhangsan" password="123" groups="users,admins"/>
</users>
</simpleAuthenticationPlugin>
</plugins>
安装目录下conf/activemq.xml
添加如下内容:
<plugins>
<simpleAuthenticationPlugin>
<users>
<authenticationUser username="zhangsan" password="123" groups="users,admins"/>
</users>
</simpleAuthenticationPlugin>
</plugins>
转载于:https://www.cnblogs.com/dicke/p/8666146.html