This article shows how to reset the flow control statistics of a specific ActiveMQ producer using the REST API.
Reset Flow Control Statistics on ActiveMQ Producer
POST /activemq/producers/{nodeName}/{managerName}/{brokerName}/{producerName}/reset-flow-control-stats
Resets flow control statistics for a specific ActiveMQ producer.
Example Request
curl -X 'POST' \
'http://<hostname>:8019/rest/v1/activemq/producers/CMACTIVEMQ/Cloudactmq/JKMessageBus/ID%3AVinay-PC-58417-1760097357526-13%3A1%3A1%3A1/reset-flow-control-stats' \
-H 'accept: */*' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
-d''
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 – Flow control statistics reset successfully
304 Not Modified – No changes were applied.
* – Error response, returns
ErrorPojo.
Example Response
201 – Flow control statistics reset successfully.
access-control-allow-credentials: true access-control-allow-origin: http://<hostname>:8019
content-length: 0 date: Fri, 10 Oct 2025 12:58:32 GMT server: Jetty(10.0.22) vary: Origin