This article shows how to search for ActiveMQ topic events using the REST API.
Search ActiveMQ Topic Events
GET /activemq/topics/{nodeName}/{managerName}/{brokerName}/{topicName}/events
Search for events related to a specific ActiveMQ topic.
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/topics/CMACTIVEMQ/Activemq-server/DemoBroker/ActiveMQ.Advisory.Connection/events' \ -H 'accept: application/json' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
|---|---|---|
eventType |
string | Filter by event type (e.g., All, Manager, Alter, QMgr, Channel, Performance, Config, Command, Schedule, Bridge and Logger). |
timestamp |
int64 | Event timestamp (used to validate if event has expired). |
limit |
int32 | Maximum number of events to return. |
attributes |
string | Comma-separated list of attributes or attribute sections to retrieve. |
validateAccessForUser |
string | Validate endpoint access for user. |
Response Codes
200 OK – Returns matching ActiveMQ topic event objects.
* – Error response.
Example Response
200 OK: Returns ActiveMQ topic event objects
[
{
"wgsName": "MQM",
"type": "Alter",
"eventNo": 101,
"uri": "topic://DemoBroker/ActiveMQ.Advisory.Connection",
"general": {
"eventTimeStamp": "2025-09-26T13:09:17.000Z",
"nodeName": "CMACTIVEMQ",
"qmgrName": "Activemq-server"
},
"diagnostic": {
"eventIdentifier": 5001,
"userId": "admin",
"eventTime": 1695732557,
"objectType": "Topic",
"objectName": "ActiveMQ.Advisory.Connection"
},
"extended": {
"eventDescription": "Topic advisory connection created",
"eventOrigin": "Broker",
"eventQMgr": "DemoBroker"
}
},
{
"wgsName": "MQM",
"type": "Manager",
"eventNo": 202,
"uri": "topic://DemoBroker/ActiveMQ.Advisory.Connection",
"general": {
"eventTimeStamp": "2025-09-26T13:15:00.000Z",
"nodeName": "CMACTIVEMQ",
"qmgrName": "Activemq-server"
},
"diagnostic": {
"eventIdentifier": 5002,
"userId": "system",
"eventTime": 1695732900,
"objectType": "Topic",
"objectName": "ActiveMQ.Advisory.Connection"
},
"extended": {
"eventDescription": "Topic subscription event",
"eventOrigin": "System",
"eventQMgr": "DemoBroker"
}
}
]
Reference Articles
Using the REST API using the Navigator demo system
Performing REST API operations using the Swagger UI