TaskScheduler, @Scheduled and quartz

Viewed 8326

Is there a way to have @Scheduled with quartz as the underlying scheduler?

Two things that I can think of, but both require some work:

  • create a custom BeanPostProcessor that will parse the @Scheduled annotation and register quartz jobs
  • implement TaskScheduler to delegate to the quartz Scheduler.

The question is: is there something already written for the above two options and is there another option?

2 Answers
Related