Class ThreadPoolProfile
The bounds of the pool a detached step runs on (a WireTap, an asynchronous OnCompletion), Apache
Camel's thread pool profile. Every such step gets a pool of its own built from a profile: the context's default
profile, or a named one the step picks with executorService.
At most branches of one step run at a time and at most wait;
a branch that finds both full is handled by . Branches are tasks, not threads: the
limit bounds how much work a step has in flight, not how many threads it holds.
public sealed class ThreadPoolProfile
Inheritance
Properties
MaxConcurrency
Branches of one step that run at a time (Camel maxPoolSize). Default: 20.
public int MaxConcurrency { get; set; }
MaxQueueSize
Branches of one step that wait for a free slot (Camel maxQueueSize). Default: 1000.
public int MaxQueueSize { get; set; }
RejectedPolicy
What a branch that finds the pool and its queue full does (Camel rejectedPolicy). Default:
public ThreadPoolRejectedPolicy RejectedPolicy { get; set; }