This article shows how to restart a specific ActiveMQ broker using the REST API.
Restart ActiveMQ Broker
POST /activemq/brokers/{nodeName}/{managerName}/{brokerName}/restart
Restarts an ActiveMQ broker.
Example Request
curl -X 'POST' \ 'http://<hostname>:8019/rest/v1/activemq/brokers/CMACTIVEMQ/Activemq-server/DemoBroker/restart' \ -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 user. |
Response Codes
201 Object created – Broker restarted successfully.
304 Action failed – Restart action did not complete.
* – Error response, returns
ErrorPojo.
Response Header
201 Object created – Broker restarted successfully
access-control-allow-credentials: true access-control-allow-origin: http://<hostname>:8019 content-length: 0 date: Tue,30 Sep 2025 10:44:59 GMT server: Jetty(10.0.22) vary: Origin