This article shows how to reset the statistics of a specific ActiveMQ Dynamic Producer using the REST API.
Reset Statistics on ActiveMQ Dynamic Producer
POST /activemq/dynamic-producers/{nodeName}/{managerName}/{brokerName}/{dynamicProducerName}/reset-statistics
Resets the statistics for a specific ActiveMQ Dynamic Producer.
Example Request
curl -X 'POST' \
'http://<hostname>:8019/rest/v1/activemq/dynamic-producers/CMACTIVEMQ/Cloudactmq/JKMessageBus/ID%3AmeshIq-activemq-774f488ddc-411cf-38593-1759994796685-4%3A3%3A1%3A1/reset-statistics' \
-H 'accept: */*' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
|---|---|---|
jobDate |
integer | Schedule job date (Unix Timestamp). |
jobTags |
string | Comma-separated list of job tags (used only with jobDate). |
validateAccessForUser |
string | Validate endpoint access for the user. |
Response Codes
201 – Statistics reset successfully.
304 Not Modified – No changes were applied.
* – Error response, returns
ErrorPojo.
Example Response
201 – Statistics reset successfully
access-control-allow-credentials: true access-control-allow-origin: http://<hostname>:8019
content-length: 0 date: Mon, 29 Sep 2025 11:28:12 GMT server: Jetty(10.0.22) vary: Origin