This article shows how to read the details of a specific ActiveMQ consumer using the REST API.
Read ActiveMQ Consumer
GET /activemq/consumers/{nodeName}/{managerName}/{brokerName}/{consumerName}
Reads the details of a specific ActiveMQ consumer.
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/consumers/CMACTIVEMQ/Activemq-server/%20DemoBroker/NOTSET%3A0%3A-1' \ -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 Consumer object.
* – Error response.
Example Response
200 OK: Returns ActiveMQ Consumer object
{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Activemq-server",
"brokerName": "DemoBroker",
"consumerName": "NOTSET:0:-1"
}
Reference Articles
Using the REST API using the Navigator demo system
Performing REST API operations using the Swagger UI