This article shows how to search queue-related events in ActiveMQ using the REST API.
Queue Events
GET /activemq/queues/{nodeName}/{managerName}/{brokerName}/{queueName}/events
Search queue-related events.
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/queues/CMACTIVEMQ/Activemq-server/DemoBroker/AABCC/events' \ -H 'accept: application/json' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
eventType |
enum | Filter by event type. |
timestamp |
int64 | Event timestamp. |
limit |
int32 | Limit results. |
attributes |
string | Attributes to retrieve. |
validateAccessForUser |
string | Validate endpoint access. |
Response Codes
200– Returns event objects.*– Error response.
Example Response
200 – Returns event objects.
[
{
"wgsName": "MQM",
"type": "QueueEvent",
"eventNo": 101,
"uri": "queue://DemoBroker/AABBCC",
"general": {
"eventTimeStamp": "2025-09-25T08:16:56.265Z",
"nodeName": "CMACTIVEMQ",
"qmgrName": "Activemq-server"
},
"diagnostic": {
"eventIdentifier": 5001,
"userId": "admin",
"eventTime": 1695632216,
"objectType": "Queue",
"objectName": "AABBCC"
},
"extended": {
"eventDescription": "Message delivery delayed",
"eventOrigin": "Broker",
"eventQMgr": "DemoBroker"
}
}
]