title: How to parameterize @Scheduled(fixedDelay) with Spring 3.0 expression language?
body: <p>When using the Spring 3.0 capability to annotate a scheduled task, I would like to set the <code>fixedDelay</code> as parameter from my configuration file, instead of hard-wiring it into my task class, like currently...</p>
  
  <pre><code>@Scheduled(fixedDelay = 5000)
  public void readLog() {
          ...
  }
  </code></pre>
  
  <p>Unfortunately it seems that with the means of the Spring Expression Language (SpEL) <code>@Value</code> returns a String object which in turn is not able to be auto-boxed to a long value as required by the <code>fixedDelay</code> parameter.</p>