ActiveMQ simple authentication configuration

To configure the simple authentication of ActiveMQ, you should specify the simple authentication config file when you start your activeMQ, like this:

 1. cd to your activeMQ directory
 2. export ACTIVEMQ_ENCRYPTION_PASSWORD=activemq
 3. bin/activemq start xbean:libexec/conf/activemq-security.xml

The file libexec/conf/activemq-security.xml contains the username and password.

Note: if you can NOT launch the activeMQ, you can use the following command to see more details

bin/activemq console xbean:libexec/conf/activemq-security.xml

Continue reading