This article shows how to stop a specific ActiveMQ broker using the REST API.
Stop ActiveMQ Broker
POST /activemq/brokers/{nodeName}/{managerName}/{brokerName}/stop
Stops a running ActiveMQ broker.
Example Request
curl -X 'POST' \ 'http://<hostname>:8019/rest/v1/activemq/brokers/CMACTIVEMQ/Activemq-server/DemoBroker/stop' \ -H 'accept: */*' \ -H 'Authorization: Basic QWRtaW46YWRtaW4=' \ -d ''
Query Parameters
| Parameter | Type | Description |
|---|---|---|
jobDate |
integer | 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 – Broker stopped successfully.
304 Not Modified – Broker stop action did not complete.
*– Error response, returnsErrorPojo.
Response Header
201 Created – Broker stopped successfully.
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