Skip to main content
Version: 1.0

ActiveMQ Getting Started

ActiveMQ is the most popular and powerful open source messaging and Integration Patterns server.Apache ActiveMQ is fast, supports many Cross Language Clients and Protocols, comes with easy to use Enterprise Integration Patterns and many advanced features while fully supporting JMS 1.1 and J2EE 1.4. Apache ActiveMQ is released under the Apache 2.0 License

If you have installed Websoft9 ActiveMQ, the following steps is for your quick start


  1. Get the Internet IP on your Cloud Platform
  2. Check your Inbound of Security Group Rule of Cloud Console to ensure the TCP:8161 is allowed
  3. Get default username and password of ActiveMQ
  4. Complete Five steps for Domain if you want to use Domain for ActiveMQ.

ActiveMQ Installation

Steps for you

  1. Using local Chrome or Firefox to visit the URL http://DNS:8161 or http://Internet IP:8161, you will enter installation wizard of ActiveMQ(Don't know password?) ActiveMQ console

  2. Click link [Manage ActiveMQ broker] to login ActiveMQ console ActiveMQ console

  3. You can reset the password by modify the file /opt/apache-activemq/conf/

More useful ActiveMQ guide, please refer to Using Apache ActiveMQ

Having trouble?

Below is for you to solve problem, and you can contact Websoft9 Support or refer to Troubleshoot + FAQ to get more.

ActiveMQ QuickStart

Using Apache ActiveMQ

ActiveMQ Setup

Reset Password

You can reset or set the password by modity the file: /opt/apache-activemq/conf/, then systemctl restart activemq

ActiveMQ Web Demos

ActiveMQ comes with a number of Web demos that illustrate how to use the ActiveMQ broker with REST and AJAX. The Web demos are not activated in the default configuration, so you must follow the steps below to get them running:

  1. Edit the /opt/apache-activemq/examples/conf/activemq-demo.xml file and change the locations property to reflect the location of the encrypted credentials file, located at /opt/activemq/conf/
<property name="locations">
  1. If the ActiveMQ server is currently running, stop it:
systemctl stop activemq
  1. Run the example:
cd /opt/activemq
sudo ./bin/activemq console xbean:/opt/activemq/examples/conf/activemq-demo.xml
  1. The ActiveMQ broker should now start.
  2. Log in to the Web administration panel and view the demos by browsing to http://Internet IP:8161/demo, If needed, use the credentials obtained from the server dashboard to log in.


Refer to the official docs:

Reference sheet

The below items and General parameter sheet is maybe useful for you manage ActiveMQ Run docker ps command, view all Containers when ActiveMQ is running:

CONTAINER ID   IMAGE                                                 COMMAND                  CREATED          STATUS          PORTS                                                                                                                                                                                NAMES
abeaf50ef7ec alfresco/alfresco-activemq:5.18.2-jre17-rockylinux8 "/bin/sh -c './init.…" 37 minutes ago Up 37 minutes>5672/tcp, :::5672->5672/tcp,>8161/tcp, :::8161->8161/tcp,>61613/tcp, :::61613->61613/tcp,>61616/tcp, :::61616->61616/tcp activemq


ActiveMQ installation directory: /data/apps/activemq
ActiveMQ configuration directory: /data/apps/activemq/data


8161HTTP requests for ActiveMQ ConsoleOptional


sudo docker exec -it activemq find /opt/activemq -name activemq-all* | cut -d- -f3


sudo docker start | stop | restart activemq


/opt/apache-activemq -h


ActiveMQ API