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