Hello,
I`m using camel ver. 2.11.0. I have multiple routes triggered by timer
componnet like this:
<camel:route id="route1">
<camel:from uri="timer://foo?fixedRate=true&period={{period}}"/>
...my processing...
</camel:route>
<camel:route id="route2">
<camel:from uri="timer://foo?fixedRate=true&period={{period}}"/>
...my processing...
</camel:route>
So when route1 running too long, it blocks processing from route2. Timer
event is not generated until route1 is not finished.
And routes are running step by step according to timers.
I also tried wireTap to create new thread.
<camel:route id="route1">
<camel:from uri="timer://foo?fixedRate=true&period={{period}}"/>
<camel:wireTap copy="false" uri="direct:my-processing"/>
</camel:route>
But when "direct:my-processing" is running too long (aprox. 30min) and my
period is 60s it generate multiple threads of my-processing route which is
undesirable.
What is the right way for paralell processing multiple timer events?
Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.com/Running-routes-blocks-timer-event-tp5743801.html
Sent from the Camel - Users mailing list archive at Nabble.com.