I want to invoke another camel route based on a counter value or after certain time has passed whichever happens first. For example, if count has reached N before timer is invoked, I want to reset the timer and invoke the route. Similarly, if timer is invoked, reset the count and invoke the route. I looked at content based routing but, how would I deal with Timer part?
I can do it in Java using ScheduledThreadPoolExecutor to cancel the task if count is reached and then invoke route in java. But, I was wondering if there is an easy way to do it with camel. I am new to Camel, so not aware about advanced functionality it can provide. -- View this message in context: http://camel.465427.n5.nabble.com/Set-camel-route-based-on-timer-or-a-count-variable-tp5788270.html Sent from the Camel - Users mailing list archive at Nabble.com.
