[ 
https://issues.apache.org/jira/browse/ARTEMIS-5588?focusedWorklogId=984973&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-984973
 ]

ASF GitHub Bot logged work on ARTEMIS-5588:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Sep/25 09:44
            Start Date: 29/Sep/25 09:44
    Worklog Time Spent: 10m 
      Work Description: gtully commented on code in PR #5942:
URL: https://github.com/apache/activemq-artemis/pull/5942#discussion_r2387336299


##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java:
##########
@@ -4624,9 +4625,14 @@ public void reloadConfigurationFile() throws Exception {
    }
 
    private void reloadConfigurationFile(URL uri) throws Exception {
-      Configuration config = new 
FileConfigurationParser().parseMainConfig(uri.openStream());
-      LegacyJMSConfiguration legacyJMSConfiguration = new 
LegacyJMSConfiguration(config);
-      legacyJMSConfiguration.parseConfiguration(uri.openStream());
+      Configuration config = null;

Review Comment:
   This is related to config reload, this new config object is used in the 
comparison of things that can be reloaded. it does not replace config 
otherwise. We do point out that config reload is partial, the same is true of 
properties config reload. 
   I will check if the reload concept points that out. But from the code change 
point of view, the intent here is to not change that.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 984973)
    Time Spent: 0.5h  (was: 20m)

> config reload of properties requires an xml config
> --------------------------------------------------
>
>                 Key: ARTEMIS-5588
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5588
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 2.42.0
>            Reporter: Gary Tully
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> An embedded broker can work without any xml config and will load broker 
> properties to configure as needed, however the config reload for properties 
> paths feature is gated on the presence of a config url provided by the xml 
> parser.
> reload should be able to work with a null config url. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to