刚开始使用activeMQ时在Spring中配置时,activeMQ的用户名以及密码都没有用到,也就是说怎么填写用户名,密码都可以
那是因为在activeMQ的配置conf/activemq.xml中没有配置权限
加上<plugins>
<simpleAuthenticationPlugin>
<users>
<authenticationUser username="li" password="123" groups="user,admin"/>
</users>
</simpleAuthenticationPlugin>
</plugins>
就行了
原文:https://www.cnblogs.com/yaNew/p/9680905.html