0

im working on a desktop application using javaFx in springboot .i have a application.properties file. i have to update that file in runtime and execute some task using that updated values by calling @value() anotation .I can write the values to application.properties file but while reading it using @value() anotation it give the old value .. it load the new values only when application restarts.

how can i fix that.. how to reload properties dynamically during runtime.. i tried refreshscope but it was not working ..

  • Might be helpful: https://stackoverflow.com/questions/40287771/how-to-reload-a-value-property-from-application-properties-in-spring (and its duplicate). – Slaw Nov 02 '22 at 15:30

0 Answers0