I have several methods annotated with
@Scheduled(fixedDelay = 6000) private void myScheduledMethod(){
I also have a set of property files where I configure environment-specific values. For testing purposes, I would like the delay value to be configured, ideally, through a property in the properties file.
Since the fixedDelay value must be constant, I am looking for a way to get this set from the properties file, but have not yet found a way to do this.
java spring quartz-scheduler
Iker jimenez
source share