Spring how to reload the values from application.properties at runtime
In my Spring application I load application.properties file from outside the application e.g. /user/home/properties/application.properties. The values in the file are injected via @Value annotation in the beans. The new requirement I've is to be able to change values in application.properties file and reload (or reinject) the new values in the beans. Is something like this possible in Spring 3.2?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.