I have several methods annotated with @Scheduled(fixedDelay=10000).
@Scheduled(fixedDelay=10000)
In the application context, I have this annotation-driven setup:
<
default spring using a single thread for schedule task. you can using @Configuration for class implements SchedulingConfigurer . referce: https://crmepham.github.io/spring-boot-multi-thread-scheduling/
https://crmepham.github.io/spring-boot-multi-thread-scheduling/