Jean-Louis Monteiro created AMQ-9844:
----------------------------------------

             Summary: ReloadableProperties better error handling / decrypt
                 Key: AMQ-9844
                 URL: https://issues.apache.org/jira/browse/AMQ-9844
             Project: ActiveMQ
          Issue Type: Improvement
            Reporter: Jean-Louis Monteiro


When reloading properties, we first override the previous properties such as if 
reloading fails, we lost the previous content. It would be better and safer to 
instead load into a local variable and swap the reference of props when 
everything is done (prevents data loss if reload fails)

 
Decrypt bug fix: EncryptionSupport.decrypt(props, ...) instead of 
EncryptionSupport.decrypt(this.props, ...) so we operate on the new data read
 



--
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