This article shows how to search for ActiveMQ Producers using the REST API.
Search ActiveMQ Producers
GET /activemq/ producers
Search for ActiveMQ Producers with optional filters and parameters.
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/producers?nodeName=CMACTIVEMQ&managerName=Cloudactmq&brokerName=JKMessageBus' \
-H 'accept: application/json' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
|---|---|---|
nodeName |
string | Wildcard node name for search. |
managerName |
string | Wildcard manager name for search. |
brokerName |
string | Wildcard ActiveMQ Broker name for search. |
producerName |
string | Wildcard ActiveMQ Producer name for search. |
projects |
string | Filter by projects (comma-separated list of project IDs). |
filter |
string | Filter by attribute expression. |
order |
string | Order results by attributes (e.g., topicName:asc,brokerName:desc). |
limit |
integer | Maximum number of results to return. |
attributes |
string | Comma-separated list of attributes or sections to include in the response. |
validateAccessForUser |
string | Validate endpoint access for user. |
Response Codes
200 OK – Returns an array of matching ActiveMQ producer objects.
* – Error response.
Example Response
200 OK: Returns ActiveMQ Producers objects
[
{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Cloudactmq",
"brokerName": "JKMessageBus",
"producerName": "ID:Vinay-PC-58417-1760097357526-1:1:1:11"
},
{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Cloudactmq",
"brokerName": "JKMessageBus",
"producerName": "ID:Vinay-PC-58417-1760097357526-1:1:1:12"
}