This article shows how to read the details of a specific ActiveMQ topic using the REST API.
Read ActiveMQ Topic
GET /activemq/topics/{nodeName}/{managerName}/{brokerName}/{topicName}
Read the details of a specific ActiveMQ topic
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/topics/CMACTIVEMQ/Activemq-server/%20DemoBroker/ActiveMQ.Advisory.Connection' \ -H 'accept: application/json' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| attributes | string | A comma-separated list of attributes or attribute sections to retrieve. |
| validateAccessForUser | string | Validate endpoint access for user. |
Response Codes
200 OK – Returns a matching ActiveMQ Topic object.
* – Error response.
Example Response
200 OK: Returns ActiveMQ Topic object
{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Activemq-server",
"brokerName": "DemoBroker",
"topicName": "ActiveMQ.Advisory.Connection"
}
Reference Articles
Using the REST API using the Navigator demo system
Performing REST API operations using the Swagger UI