Skip to content

When virtual threads are enabled, auto-configure an AsyncTaskExecutor that uses them #35710

Closed
@wilkinsona

Description

@wilkinsona

Currently, TaskExecutionAutoConfiguration auto-configures a ThreadPoolTaskExecutor built using TaskExecutorBuilder. We should consider providing an option to auto-configure a SimpleAsyncTaskExecutor that uses virtual threads instead. Following these changes in Framework, SimpleAsyncTaskExecutor can be configured to use virtual threads by calling setVirtualThreads(true).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions