I'm new in 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&amp;delay=5000" />
        <threads executorServiceRef="threadPcSend">
                <camel:bean ref="PcSend" method="update" />
        </threads>
</camel:route>
when the "update" method runs in 2s,the eight threads can run every 2s. 
but when anyone of the threads run over 2s,others will wait 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://camel.465427.n5.nabble.com/camel2-11-0-threads-tp5738811.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to