This article shows how to retrieve the transport connector details of a specific ActiveMQ broker using the REST API.
Read ActiveMQ Broker Transport Connectors
GET /activemq/brokers/{nodeName}/{managerName}/{brokerName}/transport-connectors
Retrieves the list of transport connectors configured for an ActiveMQ broker.
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/brokers/CMACTIVEMQ/Activemq-server/DemoBroker/transport-connectors' \ -H 'accept: application/json' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
|---|---|---|
validateAccessForUser | string | Validate endpoint access for user. |
Response Codes
200 OK – Transport connector details retrieved successfully.
* – Error response, returns ErrorPojo.
Response Example
200 OK – Transport connector details retrieved successfully.
[
{
"name": "openwire",
"address": "tcp://Middleware4:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600"
},
{
"name": "amqp",
"address": "amqp://Middleware4:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600"
},
{
"name": "mqtt",
"address": "mqtt://Middleware4:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600"
},
{
"name": "stomp",
"address": "stomp://Middleware4:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600"
},
{
"name": "ws",
"address": "ws://Middleware4:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600"
}
]
Reference Articles
Using the REST API using the Navigator demo system
Performing REST API operations using the Swagger UI