Uses of Class
org.apache.camel.model.ThreadsDefinition
Packages that use ThreadsDefinition
-
Uses of ThreadsDefinition in org.apache.camel.model
Methods in org.apache.camel.model that return ThreadsDefinitionModifier and TypeMethodDescriptionThreadsDefinition.allowCoreThreadTimeOut(boolean allowCoreThreadTimeOut) Whether idle core threads are allowed to timeout and therefore can shrink the pool size below the core pool sizeThreadsDefinition.allowCoreThreadTimeOut(String allowCoreThreadTimeOut) Whether idle core threads is allowed to timeout and therefore can shrink the pool size below the core pool sizeThreadsDefinition.callerRunsWhenRejected(boolean callerRunsWhenRejected) Whether or not to use as caller runs as fallback when a task is rejected being added to the thread pool (when its full).ThreadsDefinition.callerRunsWhenRejected(String callerRunsWhenRejected) Whether or not to use as caller runs as fallback when a task is rejected being added to the thread pool (when its full).ThreadsDefinition.executorService(String executorService) To refer to a custom thread pool or use a thread pool profile (as overlay)ThreadsDefinition.executorService(ExecutorService executorService) To use a custom thread poolThreadsDefinition.keepAliveTime(long keepAliveTime) Sets the keep alive time for idle threadsThreadsDefinition.keepAliveTime(String keepAliveTime) Sets the keep alive time for idle threadsThreadsDefinition.maxPoolSize(int maxPoolSize) Sets the maximum pool sizeThreadsDefinition.maxPoolSize(String maxPoolSize) Sets the maximum pool sizeThreadsDefinition.maxQueueSize(int maxQueueSize) Sets the maximum number of tasks in the work queue.ThreadsDefinition.maxQueueSize(String maxQueueSize) Sets the maximum number of tasks in the work queue.ThreadsDefinition.poolSize(int poolSize) Sets the core pool sizeSets the core pool sizeThreadsDefinition.rejectedPolicy(String rejectedPolicy) Sets the handler for tasks which cannot be executed by the thread pool.ThreadsDefinition.rejectedPolicy(org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy rejectedPolicy) Sets the handler for tasks which cannot be executed by the thread pool.ThreadsDefinition.threadName(String threadName) Sets the thread name to use.ProcessorDefinition.threads()Continues processing theExchangeusing asynchronous routing engine.ProcessorDefinition.threads(int poolSize) Continues processing theExchangeusing asynchronous routing engine.ProcessorDefinition.threads(int poolSize, int maxPoolSize) Continues processing theExchangeusing asynchronous routing engine.Continues processing theExchangeusing asynchronous routing engine.Sets the keep alive time unit.Sets the keep alive time unit.