I need change properties in my application at runtime.
For example I have a service which send a e-mail with resset password. Request is valid 12 hours. But I want to chang
It's not a good practice to change value from property files using @Value("${hours.expired}"). If your change any value from property file,you need to restart your server or re-run application. so its better to store hours.expired value in Database. You can easily update whenever you want.