activemq - 修改服务密码
查看文件:conf\activemq.xml,
在 shutdownHooks 代码块,增加 plugins 代码块即可
<!-- destroy the spring context on shutdown to stop jetty -->
<shutdownHooks>
<bean xmlns="http://www.springframework.org/schema/beans" class="org.apache.activemq.hooks.SpringContextHook" />
</shutdownHooks>
<!-- 验证模块 -->
<plugins>
<simpleAuthenticationPlugin>
<users>
<!-- authenticationUser username="admin" password="admin" groups="users,admins" -->
<authenticationUser username="dev" password="dev" groups="users"/>
</users>
</simpleAuthenticationPlugin>
</plugins>
疯狂的妞妞 :每一天,做什么都好,不要什么都不做!