Skip to content

Update warning log messages for SimpleAsyncTaskManager to take into account virtual thread mode #30902

@rstoyanchev

Description

@rstoyanchev

Currently we log this in WebAsyncManager and similar warning exists in ReactiveTypeHandler too:

!!!
An Executor is required to handle java.util.concurrent.Callable return values.
Please, configure a TaskExecutor in the MVC config under "async support".
The SimpleAsyncTaskExecutor currently in use is not suitable under load.
-------------------------------
Request URI: '/'
!!!

This should not be logged if using virtual threads.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions