public class CamelThreadPoolTaskScheduler extends org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler
ThreadPoolTaskScheduler which uses the
 ExecutorServiceManager to create and destroy the
 thread pool, which ensures the thread pool is also managed and consistent with
 other usages of thread pools in Camel.| Constructor and Description | 
|---|
| CamelThreadPoolTaskScheduler(org.apache.camel.CamelContext camelContext,
                            Object source,
                            String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ScheduledExecutorService | createExecutor(int poolSize,
              ThreadFactory threadFactory,
              RejectedExecutionHandler rejectedExecutionHandler) | 
| void | shutdown() | 
execute, execute, getActiveCount, getPoolSize, getScheduledExecutor, getScheduledThreadPoolExecutor, initializeExecutor, isRemoveOnCancelPolicy, prefersShortLivedTasks, schedule, schedule, scheduleAtFixedRate, scheduleAtFixedRate, scheduleWithFixedDelay, scheduleWithFixedDelay, setErrorHandler, setPoolSize, setRemoveOnCancelPolicy, submit, submit, submitListenable, submitListenableafterPropertiesSet, destroy, initialize, setAwaitTerminationSeconds, setBeanName, setRejectedExecutionHandler, setThreadFactory, setThreadNamePrefix, setWaitForTasksToCompleteOnShutdownnewThreadpublic CamelThreadPoolTaskScheduler(org.apache.camel.CamelContext camelContext, Object source, String name)
protected ScheduledExecutorService createExecutor(int poolSize, ThreadFactory threadFactory, RejectedExecutionHandler rejectedExecutionHandler)
createExecutor in class org.springframework.scheduling.concurrent.ThreadPoolTaskSchedulerpublic void shutdown()
shutdown in class org.springframework.scheduling.concurrent.ExecutorConfigurationSupportApache Camel