Tutorial by Examples

@Configuration @EnableAsync public class ApplicationConfiguration{ @Bean public TaskExecutor getAsyncExecutor() { ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor(); executor.setCorePoolSize(2); executor.setThreadNamePrefix("executor-task...

Page 1 of 1