activemq-artemis/examples/features/standard/jmx-ssl/readme.md

1.1 KiB

JMX Management Example

To run the example, simply type:

mvn verify -Djavax.net.ssl.keyStore=target/server0/etc/activemq.example.keystore -Djavax.net.ssl.keyStorePassword=activemqexample -Djavax.net.ssl.trustStore=target/server0/etc/activemq.example.truststore -Djavax.net.ssl.trustStorePassword=activemqexample

from this directory, or add -PnoServer if you want to start and create the broker manually.

This example shows how to manage ActiveMQ Artemis using JMX using SSL

Example configuration

ActiveMQ Artemis exposes its managed resources by default on the platform MBeanServer.

To access this MBeanServer remotely, add the following to the management.xml configuration:

<connector connector-port="1099" connector-host="localhost"/>

With these properties, ActiveMQ Artemis broker will be manageable remotely using standard JMX URL on port 1099.

More information