You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I don't think we did but if we feel we should change Spring's own defaults we should just do it. This may require a larger discussion though (as mentioned by your link)
Activity
philwebb commentedon Sep 16, 2014
See also #1397
philwebb commentedon Sep 16, 2014
@snicoll Did we discuss this briefly already? any thoughts?
snicoll commentedon Sep 16, 2014
I don't think we did but if we feel we should change Spring's own defaults we should just do it. This may require a larger discussion though (as mentioned by your link)
Add auto-configuration support for TaskExecutor
[-]Autoconfig for AsyncTaskExecutor[/-][+]Auto-configure a sensible TaskExecutor[/+]