This article shows how to force update an ActiveMQ consumer using the REST API.
Force Update ActiveMQ Consumer
PATCH /activemq/consumers/{nodeName}/{managerName}/{brokerName}/{consumerName}/force-update
Forces an update of a specific ActiveMQ consumer.
Example Request
curl -X 'PATCH' \ 'http://<hostname>:8019/rest/v1/activemq/consumers/CMACTIVEMQ/Activemq-serve/DemoBroker/NOTSET%3A0%3A-1/force-update' \ -H 'accept: */*' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
|---|---|---|
validateAccessForUser | string | Validate endpoint access for user. |
Response Codes
204 No Content – Object successfully updated.
304 Not Modified – No changes were applied.
* – Error response.
Response Header
204 No Content: Object successfully updated
access-control-allow-credentials: true access-control-allow-origin: http://<hostname>:8019 date: Fri,26 Sep 2025 13:44:43 GMT server: Jetty(10.0.22) vary: Origin