This article shows how to update the configuration of custom properties for a specific ActiveMQ dynamic producer using the REST API.
Change ActiveMQ Dynamic Producer Custom Properties
PATCH /activemq/dynamic-producers/{nodeName}/{managerName}/{brokerName}/{dynamicProducerName}/custom-properties
Changes the custom properties of a specified ActiveMQ Dynamic Producer.
Example Request
curl -X 'PATCH' \ 'http://<hostname>:8019/rest/v1/activemq/dynamic-producers/CMACTIVEMQ/Cloudactmq/JKMessageBus/IDX%3Ameshiq-activemq-77f4f88ddc-411cf-38593-1759994796685-4%3A%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 the user. |
Request Body
{
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}Response Codes
204 No Content – Object updated successfully.
304 Not Modified – No changes applied.
* – Error response, returns
ErrorPojo.
Response Header
204 No Content: Successfully updated
access-control-allow-credentials: true access-control-allow-origin: http://<hostname>:8019 date: Mon,29 Sep 2025 08:41:09 GMT server: Jetty(10.0.22) vary: Origin