This article shows how to update custom properties for a specific ActiveMQ producer using the REST API.
Change ActiveMQ Producer Custom Properties
PATCH /activemq/producers/{nodeName}/{managerName}/{brokerName}/{producerName}/custom-properties
Updates the custom properties for a specific ActiveMQ producer.
Example Request
curl -X 'PATCH' \
'http://<hostname>:8019/rest/v1/activemq/producers/CMACTIVEMQ/Cloudactmq/JKMessageBus/%20ID%3AVinay-PC-58417-1760097357526-1%3A1%3A1%3A1/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,10 Oct 2025 12:16:42 GMT
server: Jetty(10.0.22)
vary: Origin