I was reading below article to implement executor and scheduler.
Can any one please tell me which executor and scheduler does it use when we specify below xml entry
<task:annotation-driven executor="myExecutor" scheduler="myScheduler"/>
<task:executor id="myExecutor" pool-size="5"/>
<task:scheduler id="myScheduler" pool-size="10"/>
Internally spring uses
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
for namespace oftask:executor
andorg.springframework.scheduling.concurrent.ThreadPoolTaskScheduler
fortask:scheduler
.Refer respective API docs here and here