Hi,

I'm ServiceMix newbie and I have a question about threading. I want my JBI
Component to use multiple threads (one for each "request"). I'm using some
binding components from ServiceMix and some home made.

Does the JBIContainer provide some service that gives me multi threading
automatically? I've seen that there is a WorkManager property on
JBIContainer. Can that be used? I'm using the
org.apache.servicemix.jbi.container.SpringJBIContainer.

In the file-binding example in
apache-servicemix-3.0-incubating\examples\file-binding, a WorkManager is
passed to the FilePoller component. Then the FilePoller schedules work to
the work manager. Is this the way to achieve multi threading?

Regards,
Daniel
-- 
View this message in context: 
http://www.nabble.com/Threading-question---ServiceMix-3.0-tf2388963.html#a6660201
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to