This article shows how to reset the statistics of a specific ActiveMQ topic using the REST API.
Reset ActiveMQ Topic Statistics
POST /activemq/topics/{nodeName}/{managerName}/{brokerName}/{topicName}/reset-statistics
Resets the statistics for a given ActiveMQ topic.
Example Request
curl -X 'POST' \ 'http://<hostname>:8019/rest/v1/activemq/topics/CMACTIVEMQ/Activemq-server/DemoBroker/ActiveMQ.Advisory.Connection/reset-statistics' \ -H 'accept: */*' \ -H 'Authorization: Basic QWRtaW46YWRtaW4=' \ -d ''
Query Parameters
| Parameter | Type | Description |
|---|---|---|
jobDate |
int64 | Schedule job date (Unix Timestamp). |
jobTags |
string | A comma-separated list of job tags (used only with jobDate). |
validateAccessForUser |
string | Validate endpoint access for user. |
Response Codes
201 Created – Object created.
304 Not Modified – Action failed.
* – Error response.
Response Header
201 Created – Object created.
access-control-allow-credentials: true access-control-allow-origin: http://<hostname>:8019 content-length: 0 date: Fri,26 Sep 2025 13:32:32 GMT server: Jetty(10.0.22) vary: Origin
Reference Articles
Using the REST API using the Navigator demo system
Performing REST API operations using the Swagger UI