• Stephane Nicoll's avatar
    Add auto-configuration support for TaskScheduler · de470540
    Stephane Nicoll authored
    This commit adds support for providing a default ThreadPoolTaskScheduler
    with sensible defaults. A new TaskSchedulerBuilder is provided with
    defaults from the `spring.task.scheduler.*` namespace and can be used
    to create custom instances.
    
    If no custom `TaskScheduler` bean is present, `@EnableScheduling` now
    uses the auto-configured task scheduler.
    
    Closes gh-1397
    de470540
spring-boot-features.adoc 309 KB