This article shows how to retrieve details of a specific ActiveMQ connection using the REST API.
Read ActiveMQ Connection
GET /activemq/connections/{nodeName}/{managerName}/{brokerName}/{connectionName}
Retrieves details of a specific ActiveMQ connection.
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/connections/CMACTIVEMQ/Cloudactmq/JKMessageBus/DurableClient' \ -H 'accept: application/json' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
attributes(string) – Comma-separated list of attributes to retrieve.validateAccessForUser(string) – Validate endpoint access for user.
Response Codes
200– Returns matching object – Connection data retrieved successfully.*– Error response, returnsErrorPojo.
Example Response
200 – Returns matching object – Connection data retrieved successfully.
{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Cloudactmq",
"brokerName": "JKMessageBus",
"connectionName": "DurableClient"
}