This article shows how to read ActiveMQ Dynamic Producer data using the REST API.
Read ActiveMQ Dynamic Producer
GET /activemq/dynamic-producers/{nodeName}/{managerName}/{brokerName}/{dynamicProducerName}
Read the details of a specific ActiveMQ Dynamic Producer
Example Request
curl -X 'GET' \ 'http://<hostnname>:8019/rest/v1/activemq/dynamic-producers/CMACTIVEMQ/Cloudactmq/JKMessageBus/IDX%3Ameshiq-activemq-774f488ddc-411cf-38593-1759994796685-4%3A3%3A1%3A1' \
-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 Dynamic Producer object.
* – Error response.
Example Response
200 OK: Returns ActiveMQ Dynamic Producer object
{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Cloudactmq",
"brokerName": "JKMessageBus",
"dynamicProducerName": "ID:meshiq-activemq-774f488ddc-411cf-38593-1759994796685-4:3:1:1"
}