Skip to main content Skip to complementary content

ActiveMQ Web Console

The ActiveMQ Web Console is a web based administration tool for working with ActiveMQ, which can be configured to communicate with a standalone ActiveMQ broker or one running in a container. Web Console is included in the ActiveMQ distribution.

Information noteNote: ActiveMQ Web Console is removed from Talend Runtime 8.0.1 R2023-03 onwards because of unfixed CVE. It can be enabled on a standalone installation of ActiveMQ. For more in formation, see the ActiveMQ documentation.

Configuring ActiveMQ Web Console

When an ActiveMQ broker is running, an ActiveMQ Web Console is automatically created in the same VM or container. Similarily, starting an ActiveMQ Web Console with no configuration specified will create a broker embedded in the same VM or container. However, to increase reliability, you may wish to run the Web Console in a separate container from the broker.

In the Talend Runtime, the ActiveMQ Web Console is pre-configured to connect to a broker running within another Talend Runtime via tcp. So by default, it does not create its own embedded broker.

The pre-configured properties are enabled when installing the Talend Runtime and are in the <container>/etc/org.apache.activemq.webconsole.cfg file:

webconsole.type=properties
            webconsole.jms.url=tcp://localhost:61616
            webconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-trun
            webconsole.jmx.user=tesb
            webconsole.jmx.password=tesb

Where:

  • webconsole.jms.url is the URL of the broker
  • webconsole.jmx.url is the JMX URL of the Talend Runtime.
Information noteNote: If any configuration changes are made, the container will need to be restarted for them to take effect.

Install the Web Console to a container

In order to install the Web Console to a container, enter:

karaf@trun> feature:install activemq-web-console

This will install and start the Web Console normally accessible at http://localhost:8040/activemqweb but dependent on your configuration. See Configuring ActiveMQ Web Console for the configuration details.

  • To connect to a standalone broker from a Web Console in a container, the configuration details in <container>/etc/org.apache.activemq.webconsole.cfg will need to be updated. The default, local Web Console for a standalone broker is at http://localhost:8161/admin/.

  • If the default Talend configuration is commented out or deleted, a broker will start in the local container and connect to it (an error will be shown if a broker is already running).

Additional configuration for authentication

In order to use the ActiveMQ Web Console with a broker configured with authentication, it is necessary to edit the container/etc/org.apache.activemq.webconsole.cfg file and configure the username and password for a JMS connection:
webconsole.jms.user=system
               webconsole.jms.password=manager

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!