Hi,
I read in ServiceMix tutorial that

*"the thread pools behavior is a function of how the ThreadPoolExecutor from
the JavaSE works. When the ThreadPoolExecutor is configured by the
ServiceMix ExecutorFactoryImpl.createService() method, it does so using the
corePoolSize and the maximumPoolSize properties from the
conf/servicemix.properties file. The ThreadPoolExecutor then uses the values
set using those properties to influence how the size of the thread pool is
adjusted at runtime."*

I'd like not only to configure ThreadPoolExecutor but also to extend the
ThreadPoolExecutor class to make it possible to manage tasks priority (I
have to do it for my exam :( ).
I would like to know if all servicemix component have the possibility to use
a ThreadPool and who invokes the execute method of ThreadPoolExecutor class
to submit a new task to the PoolThread.
Thanks
Marianna

Reply via email to