title: Spring @Scheduled inject delay time
body: <p>I have a few methods annotated with</p>
  
  <pre><code>@Scheduled(fixedDelay = 6000)
  private void myScheduledMethod(){
  //do something
  }
  </code></pre>
  
  <p>I also have a set of properties files where I configure environment specific values. For testing purposes I'd like the value of the delay to be configurable, ideally through a property in a properties file.</p>
  
  <p>Since the value of <code>fixedDelay</code> has to be a constant, I'm looking for a way to get this set from a properties file, but haven't found a way to do it yet.</p>