This article shows how to change the custom properties of a specific ActiveMQ connection using the REST API.
Change ActiveMQ Connection Custom Properties
PATCH /activemq/connections/{nodeName}/{managerName}/{brokerName}/{connectionName}/custom-properties
Updates the custom properties for a specific ActiveMQ connection.
Example Request
curl -X 'PATCH' \
'http://<hostname>:8019/rest/v1/activemq/connections/CMACTIVEMQ/Cloudactmq/JKMessageBus/DurableClient/custom-properties' \
-H 'accept: */*' \
-H 'Authorization: Basic QWRtaW46YWRtaW4=' \
-H 'Content-Type: application/json' \
-d '{
"additionalProp1": "testprop1",
"additionalProp2": "string",
"additionalProp3": "string"
}'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. |
Request Body
{
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
Response Codes
204– Object changed – Custom properties updated successfully.304– Object not changed – No updates were made.*– Error response, returns ErrorPojo.
Response Header
204 – Object changed – Custom properties updated successfully.
access-control-allow-credentials: true access-control-allow-origin: http://<hostname>:8019 date: Fri, 26 Sep 2025 14:32:50 GMT server: Jetty(10.0.22) vary: Origin