Package org.springframework.scheduling.backportconcurrent

Examples of org.springframework.scheduling.backportconcurrent.ThreadPoolTaskExecutor.afterPropertiesSet()


        // use a spring 2.x task executor
        ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
        executor.setCorePoolSize(4);
        executor.setMaxPoolSize(16);
        executor.setThreadNamePrefix("foo");
        executor.afterPropertiesSet();
        jms.setTaskExecutorSpring2(executor);

        camelContext.addComponent("activemq", jms);

        return camelContext;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.