This article explains how to search for events associated with an ActiveMQ network bridge using the REST API.
Endpoint
GET /activemq/network-bridges/{nodeName}/{managerName}/{brokerName}/{connectorType}/{networkConnectorName}/{networkBridgeName}/events
Path Parameters
| Parameter | Type | Required | Description |
nodeName |
string | Yes | Name of the ActiveMQ node. |
managerName |
string | Yes | Name of the ActiveMQ manager that contains the specified broker. |
brokerName |
string | Yes | Name of the ActiveMQ broker that contains the specified network connector. |
connectorType |
string | Yes |
The ActiveMQ Connector type. Available values: one-way, duplex |
networkConnectorName |
string | Yes | Name of the ActiveMQ network connector. |
networkBridgeName |
string | Yes | The ActiveMQ network bridge name. |
Query Parameters
| Parameter | Type | Required | Description |
eventType |
string | No | Available values: None, All, Manager, Alter, QMgr, Channel, Performance, Config, Command, Schedule, Bridge, Logger. |
timestamp |
integer | No | Event timestamp used to determine whether the event has expired. |
limit |
integer | No | Maximum number of events to return. |
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/REMOTE_ACTIVEMQ/Activemq-16/DemoBroker/one-way/local-network/tcp_%2F%2F172.16.31.36_61617/events?eventType=All&attributes=%2A' \ -H 'accept: application/json' \ -H 'Authorization: Basic <base64-encoded-credentials>
Request URL
http://localhost:8019/rest/v1/activemq/network-bridges/REMOTE_ACTIVEMQ/Activemq-16/DemoBroker/one-way/local-network/tcp_%2F%2F172.16.31.36_61617/events?eventType=All&attributes=%2A
Response Codes
| Status Code | Description |
| 200 | Returns matching objects |
Example Response
-
Success Response (200-Returns matching objects): Returns an array of events associated with the specified ActiveMQ network bridge.
[ { "wgsName": "MQM", "type": "Alter", "eventNo": 902, "uri": "/rest/v1/events/Alter/902", "general": { "eventTimeStamp": 1788248254000, "nodeName": "REMOTE_ACTIVEMQ", "qmgrName": "Activemq-16" }, "diagnostic": { "eventIdentifier": 20003, "userId": "", "eventTime": 10, "origUserId": "", "objectType": "ActiveMQ Network Bridge", "objectName": "tcp_//172.16.31.36_61617@0&local-network" }, "extended": { "clientConnectionName": "", "eventDescription": "" }, "alter": { "entityType": "None", "entityName": "" }, "modifiedValues": [], "extraAttributes": [ { "groupId": -1, "groupCode": "UNKNOWN", "attrId": 20103, "attrCode": "EXIA_OBJECT_STATE", "attrType": "Integer", "value": "7", "size": 0 } ] } ] -
Response headers:
content-type: application/json date: server: transfer-encoding: vary: