This article explains how to retrieve ActiveMQ network bridge data using the REST API.
Endpoint
GET /activemq/network-bridges
Query Parameters
| Parameter | Type | Required | Description |
nodeName |
string | No | Name of the ActiveMQ node. |
managerName |
string | No | Name of the ActiveMQ manager that contains the specified broker. |
brokerName |
string | No | Name of the ActiveMQ broker that contains the specified network connector. |
connectorType |
string | No |
The ActiveMQ Connector type. Available values: one-way, duplex |
networkConnectorName |
string | No | Name of the ActiveMQ network connector. |
networkBridgeName |
string | No | The ActiveMQ Network Bridge name. |
projects |
string | No | Filters the results by project. |
filter |
string | No | Filters the results by attribute values. |
order |
string | No | Specifies the attributes by which to order the results. |
limit |
integer | No | Limits the number of objects returned. |
attributes |
string | No | A comma-separated list of attributes or attribute sections to retrieve. |
validateAccessForUser |
string | No | Validates endpoint access for the specified user. |
Example Request
curl -X 'GET' \ 'http://localhost:8019/rest/v1/activemq/network-bridges?attributes=%2A' \ -H 'accept: application/json' \ -H 'Authorization: <base64-encoded-credentials>'
Request URL
http://localhost:8019/rest/v1/activemq/network-bridges?attributes=%2A
Response Codes
| Status Code | Description |
| 200 | Returns matching objects |
Example Response
-
Success Response (200-Returns matching objects): Returns an array of matching ActiveMQ network bridges.
[ { "wgsName": "MQM", "nodeName": "REMOTE_ACTIVEMQ", "managerName": "Activemq-16", "brokerName": "DemoBroker", "networkConnectorName": "local-network", "connectorType": "one-way", "networkBridgeName": "tcp_//172.16.31.36_61617", "uri": "/activemq/network-bridges/REMOTE_ACTIVEMQ/Activemq-16/DemoBroker/one-way/local-network/tcp_%2F%2F172.16.31.36_61617", "general": { "localAddress": "vm://DemoBroker#1", "remoteAddress": "tcp://172.16.31.36:61617", "remoteBrokerName": "Broker1", "remoteBrokerId": "ID:actmq8-43155-1787660207988-0:1", "localBrokerName": "DemoBroker", "enqueueCounter": 0, "dequeueCounter": 0, "receivedCounter": 0, "createdByDuplex": false }, "state": { "lastUpdated": 1788250011000 }, "jobs": { "totalJobCount": 0, "scheduledJobCount": 0, "canceledJobCount": 0, "successJobCount": 0, "failedJobCount": 0, "readyJobCount": 0, "pendingJobCount": 0, "jobIds": [] }, "customProperties": { "additionalProp1": "Sucess", "additionalProp2": "Done", "additionalProp3": "Progress", "test": "test12", "test11": "check11", "test2": "test22", "test22": "check22", "test3": "test33", "test33": "check33" } } ]Response headers:
content-type: application/json date: server: transfer-encoding: vary: