Injecting externalized value into Spring annotation
The @Scheduled annotation in Spring v3.2.2 has added String parameters to the original 3 long parameters to handle this. fixedDelayString, fixedRateString and initialDelayString are now available too: @Scheduled(fixedDelayString = “${my.delay.property}”) public void someMethod(){ // perform something }