Validate ActiveMQ broker
mq_validate_brokerChecks ActiveMQ broker reachability at an OpenWire URL via TCP probe, and optionally lists queues and topics through the Jolokia console. Read-only validation.
Instructions
Check that an ActiveMQ broker is reachable at the given OpenWire URL. Performs a TCP connectivity probe to each endpoint (handles tcp://, ssl://, and failover:(...) forms). When list_destinations is true, also queries the ActiveMQ web-console Jolokia REST agent (default port 8161) to list current queues and topics, degrading gracefully to a TCP-only result if the console is unreachable. Read-only; makes no changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | No | Broker password (must be paired with username). Omit for an unauthenticated broker. | |
| username | No | Broker username (must be paired with password). Omit for an unauthenticated broker. | |
| broker_url | No | OpenWire broker URL. Supported forms: tcp://host:61616 (default), ssl://host:61617, or failover:(tcp://h1:61616,tcp://h2:61616). Example: tcp://localhost:61616 | tcp://localhost:61616 |
| timeout_ms | No | Per-probe timeout in milliseconds for the TCP reachability check. | |
| console_port | No | ActiveMQ web-console / Jolokia REST port used to list destinations (default 8161). | |
| list_destinations | No | When true, also query the web console (Jolokia) for the current queues/topics. Degrades gracefully if the console is unreachable. |