Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Thread pool profiles - Thread.currentThread().setPriority(MIN_PRIORITY)

$
0
0
How do I create a pool of threads for a specific Camel route that allows me
to set the Thread priority?

http://camel.apache.org/threading-model.html

Do I just create a custom ThreadPoolProfile and assign it to my Camel route,
and then in the Camel route initialize the Thread directly with the use of a
Camel Bean to make a call to
Thread.currentThread().setPriority(MIN_PRIORITY)?

Viewing all articles
Browse latest Browse all 5648

Trending Articles