This article shows how to read the details of an ActiveMQ remote manager using the REST API.
Read ActiveMQ Remote Manager
GET /activemq/remote-mgrs/{nodeName}/{managerName}
Retrieves the details of a specific ActiveMQ Remote Manager.
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/remote-mgrs/CMACTIVEMQ/Activemq-server' \ -H 'accept: application/json' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
|---|---|---|
attributes |
string |
Comma-separated list of attributes or sections. |
validateAccessForUser |
string |
Whether to validate access for the user. |
Response Codes
-
200 OK: Returns aActiveMQRemoteMgrPojoobject. -
*: Error occurred, returnsErrorPojo.
Example Response
200 OK: Returns a ActiveMQRemoteMgrPojo object.
{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Activemq-server"
}References Information
-
ActiveMQRemoteMgrPojo: Represents the full definition of an ActiveMQ Remote Manager connection. -
ErrorPojo: Represents a standard error response object.