This article shows how to retrieve event data for a specific ActiveMQ connection using the REST API.
Search ActiveMQ Connection Events
GET /activemq/connections/{nodeName}/{managerName}/{brokerName}/{connectionName}/events
Retrieves event details for a specific ActiveMQ connection.
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/connections/CMACTIVEMQ/Cloudactmq/JKMessageBus/DurableClient%27/events' \ -H 'accept: application/json' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
|---|---|---|
eventType |
string | Type of event. Available values: None, All, Manager, Alter, QMgr, Channel, Performance, Config, Command, Schedule, Bridge, Logger. |
timestamp |
integer | Event timestamp (for validation if the event has expired). |
limit |
integer | Maximum number of events to return. |
attributes |
string | Comma-separated list of attributes or sections to retrieve. |
validateAccessForUser |
string | Validates endpoint access for the user. |
Response Codes
200 OK – Returns matching ActiveMQ connection event objects.
*** – Error response, returns
ErrorPojo.
Example Response
200 OK – Returns matching ActiveMQ connection event objects.
[
{
"wgsName": "MQM",
"type": "Channel",
"eventNo": 5421,
"uri": "tcp://Middleware4:61616",
"general": {
"eventTimeStamp": "2025-10-10T11:26:55.290Z",
"nodeName": "CMACTIVEMQ",
"qmgrName": "Cloudactmq"
},
"diagnostic": {
"eventIdentifier": 3012,
"userId": "admin",
"eventTime": 1696932412,
"reasonQualifier": 0,
"errorId": 0,
"origUserId": "system",
"objectType": "Queue",
"objectName": "TEST.QUEUE"
},
"extended": {
"clientConnectionName": "Middleware4",
"eventDescription": "Channel started successfully",
"eventOrigin": "System",
"eventQMgr": "Cloudactmq",
"command": 1,
"pcfCommand": 2,
"msgPutDate": "2025-10-10",
"msgPutTime": "11:26:55",
"applType": "JMS",
"applName": "ActiveMQ.Client",
"eventMsgSeq": 120
},
"channel": {
"channelType": "Sender",
"channelName": "DemoChannel",
"listenerName": "Listener1",
"connectionName": "172.16.31.68(1414)",
"xmitQName": "EXAMPLE.QUEUE"
},
"scheduler": {
"jobId": "job-9121",
"status": "Submitted",
"jobTimeStamp": "2025-10-10T11:26:55.290Z",
"jobTags": "event-log"
}
},
{
"wgsName": "MQM",
"type": "Logger",
"eventNo": 5422,
"uri": "tcp://Middleware4:61616",
"general": {
"eventTimeStamp": "2025-10-10T11:27:10.620Z",
"nodeName": "CMACTIVEMQ",
"qmgrName": "Cloudactmq"
},
"logger": {
"currentLog": "log_20251010_01",
"restartLog": "log_20251010_00",
"logPath": "/opt/activemq/data/logs"
}
}
]