This article shows how to stop a specific ActiveMQ connection using the REST API.
Stop ActiveMQ Connection
POST /activemq/connections/{nodeName}/{managerName}/{brokerName}/{connectionName}/stop
Stops an ActiveMQ connection.
Example Request
curl -X 'POST' \ 'http://<hostname>:8019/rest/v1/activemq/connections/CMACTIVEMQ/Cloudactmq/JKMessageBus/DurableClient/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 Object Created – Connection stopped successfully.
304 Action failed – Connection stop operation failed.
*– Error response, returnsErrorPojo.
Response Header
201 Object Created – Connection 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