This article shows how to reload the Log4j properties of a specific ActiveMQ broker using the REST API.
Reload Log4j Properties
POST /activemq/brokers/{nodeName}/{managerName}/{brokerName}/reload-log4j-properties
Reloads the Log4j configuration properties for a specific ActiveMQ broker.
Example Request
curl -X 'POST' \ 'http://<hostname>:8019/rest/v1/activemq/brokers/CMACTIVEMQ/Activemq-server/DemoBroker/reload-log4j-properties' \ -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 – Log4j properties reloaded successfully.
304 Action failed – Log4j properties reload did not complete.
* – Error response, returns ErrorPojo.
Response Example
201 Object created – Log4j properties reloaded 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
Reference Articles
Using the REST API using the Navigator demo system
Performing REST API operations using the Swagger UI