camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marks1900 <marks1900-u...@yahoo.com.au>
Subject Thread pool profiles - Thread.currentThread().setPriority(MIN_PRIORITY)
Date Sat, 19 Jul 2014 23:39:13 GMT

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)?



--
View this message in context: http://camel.465427.n5.nabble.com/Thread-pool-profiles-Thread-currentThread-setPriority-MIN-PRIORITY-tp5754039.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message