Closed
Description
it would be really nice if spring-boot has an auto-configuration for the AsyncTaskExecutor
. So if an @EnableAsync
is found a AsyncTaskExecutor
bean is provided based on the environment. If there is support for jsr236 (e.g. wildfly) the DefaultManagedTaskExecutor
is used by looking in jndi and when not a ThreadPoolTaskExecutor
or a SimpleAsyncTaskExecutor
is used.
Perhaps this can be combined with the @EnableScheduling
configuration