This article shows how to read ActiveMQ broker details using the REST API.
Read ActiveMQ Broker
GET /activemq/brokers/{nodeName}/{managerName}/{brokerName}
Retrieves details of a specific ActiveMQ broker, including configuration, state, and runtime statistics.
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/brokers/CMACTIVEMQ/Activemq-server/DemoBroker' \ -H 'accept: application/json' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
|---|---|---|
attributes | string (query) | Comma-separated list of attributes or sections to retrieve. |
validateAccessForUser | string (query) | Validate endpoint access for user. |
Response Codes
200 OK – Returns broker details successfully.
* – Error response, returns
ErrorPojo.
Example Response
200 OK: Returns broker details successfully.
{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Activemq-server",
"brokerName": "DemoBroker"
}