Well that turns out to be very interesting. Setting the timer to 1s and sleep to 30s, it indeed runs the route 30 times! I am not sure I could explain why it does that as I would think the route starting would include running the timer continually, independent of code in the bean outside the route itself.
Also interesting is that it uses the same Date() object for each iteration of the route, even though the message (or at least the messageID) changes. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Java-routes-using-Timer-firing-only-once-tp5754275p5754458.html Sent from the Camel - Users mailing list archive at Nabble.com.
