= ActiveMQ Detector
:description: Learn how the ActiveMQ detector in OpenNMS {page-component-title} finds and assigns services based on the existence of ActiveMQ broker services.

The ActiveMQDetector finds and assigns services based on the existence of ActiveMQ broker services.

== Detector facts

[options="autowidth"]
|===
| Implementation | `org.opennms.netmgt.provision.detector.jms.ActiveMQDetector`
|===

== Configuration and use

.Parameters for the ActiveMQDetector
[options="header, autowidth"]
[cols="1,1,4"]
|===
| Parameter
| Description
| Default value

3+| *Required*

| broker-url
| URL used to connect to ActiveMQ broker.
| vm://localhost?create=false

3+| *Optional*

| user
| Authentication username for connecting to broker.
| none

| password
| Password for connecting to broker.
| none

| use-nodelabel
| If `true`, modify broker URL to use node label instead of IP address in broker URL.
| false
|===

== Examples

=== Example for use-nodelabel=true

If you are using an SSL-based connector, use this flag so that the detector will adjust the broker-url to reflect the node label as the hostname.