I\'ve been thinking around the Java feature that evaluates annotation values in compile-time and it seems to really make difficult externalizing annotation values.
H
A better way to do this is to define the scheduling in xml using the task name space
If you for some reason want to do it with annotation, you need to create an annotation that has another optional attribute where you can specify the property name or better still a property placeholder expression or Spel expression.
@MyScheduled(fixedDelayString="${delay}")