//package com.nokia.sms.config;
//
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
//
//@Configuration
//public class SchedulerConfig {
//    @Bean
//    public ThreadPoolTaskScheduler scheduler() {
//        ThreadPoolTaskScheduler scheduler = new ThreadPoolTaskScheduler();
//        scheduler.setThreadNamePrefix("scheduler-");
//        scheduler.setPoolSize(100);
//        scheduler.initialize();
//        return scheduler;
//    }
//}
