Package | Description |
---|---|
org.apache.camel.model |
The JAXB POJOs for the
XML Configuration
of the routing rules.
|
Modifier and Type | Method and Description |
---|---|
ThreadsDefinition |
ThreadsDefinition.callerRunsWhenRejected(boolean callerRunsWhenRejected)
Whether or not the caller should run the task when it was rejected by the thread pool.
|
ThreadsDefinition |
ThreadsDefinition.executorService(ExecutorService executorService) |
ThreadsDefinition |
ThreadsDefinition.executorServiceRef(String executorServiceRef) |
ThreadsDefinition |
ThreadsDefinition.keepAliveTime(long keepAliveTime)
Sets the keep alive time for idle threads
|
ThreadsDefinition |
ThreadsDefinition.maxPoolSize(int maxPoolSize)
Sets the maximum pool size for the underlying
ExecutorService . |
ThreadsDefinition |
ThreadsDefinition.maxQueueSize(int maxQueueSize)
Sets the maximum number of tasks in the work queue.
|
ThreadsDefinition |
ThreadsDefinition.poolSize(int poolSize)
Sets the core pool size for the underlying
ExecutorService . |
ThreadsDefinition |
ThreadsDefinition.rejectedPolicy(ThreadPoolRejectedPolicy rejectedPolicy)
Sets the handler for tasks which cannot be executed by the thread pool.
|
ThreadsDefinition |
ThreadsDefinition.threadName(String threadName)
Sets the thread name to use.
|
ThreadsDefinition |
ProcessorDefinition.threads()
Continues processing the
Exchange using asynchronous routing engine. |
ThreadsDefinition |
ProcessorDefinition.threads(int poolSize)
Continues processing the
Exchange using asynchronous routing engine. |
ThreadsDefinition |
ProcessorDefinition.threads(int poolSize,
int maxPoolSize)
Continues processing the
Exchange using asynchronous routing engine. |
ThreadsDefinition |
ProcessorDefinition.threads(int poolSize,
int maxPoolSize,
String threadName)
Continues processing the
Exchange using asynchronous routing engine. |
ThreadsDefinition |
ThreadsDefinition.timeUnit(TimeUnit keepAliveTimeUnits)
Sets the keep alive time unit.
|
Apache Camel