Skip to content

Commit 5a4d2e3

Browse files
committed
Update javadoc of IntegrationTaskSchedulerConfiguration
1 parent 122f2c9 commit 5a4d2e3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/integration/IntegrationAutoConfiguration.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,11 @@ private Trigger createPeriodicTrigger(Duration period, Duration initialDelay, bo
170170
}
171171

172172
/**
173-
* Expose a standard {@link ThreadPoolTaskScheduler} if the user has not enabled task
174-
* scheduling explicitly.
173+
* Expose a standard {@link org.springframework.scheduling.TaskScheduler
174+
* TaskScheduler} if the user has not enabled task scheduling explicitly. A
175+
* {@link SimpleAsyncTaskScheduler} is exposed if the user enables virtual threads via
176+
* {@code spring.threads.virtual.enabled=true}, otherwise
177+
* {@link ThreadPoolTaskScheduler}.
175178
*/
176179
@Configuration(proxyBeanMethods = false)
177180
@ConditionalOnMissingBean(name = IntegrationContextUtils.TASK_SCHEDULER_BEAN_NAME)

0 commit comments

Comments
 (0)