Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Configuration
- @EnableAsync
- @ComponentScan( "com.xyz.bbb.ccc" )
- public class EllaConfiguration {
- @Bean( "threadPoolExecutor" )
- public Executor threadPoolTaskExecutor() {
- ThreadPoolTaskExecutor taskExecutor = new ThreadPoolTaskExecutor();
- taskExecutor.initialize();
- return taskExecutor;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement