I'm new in servicemix and camel.
threadPool:
<threadPool id="threadPcSend" poolSize="8"
threadName="pcSend" maxPoolSize="8" maxQueueSize="1024"
keepAliveTime="0" />
camel-route:
<camel:route id="pcSendRoute">
<camel:from uri="timer://pcSendTimer?period=2000&delay=5000" />
<threads executorServiceRef="threadPcSend">
<camel:bean ref="PcSend" method="update" />
</threads>
</camel:route>
when the "update" method can't find any data,the eight threads can run every
2s.
but when anyone of the threads can find data,others were stopped until the
thread is over.
How can i make the threads work every 2s whether anyone is working or not.
Thank you so much!
--
View this message in context:
http://servicemix.396122.n5.nabble.com/servicemix4-5-1-camel2-11-0-threads-tp5717762.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.