Oh, the code is a part of CronScheduledRoutePolicy. I show you the code is just for reminding you to check the route states.
On 8/3/11 1:21 AM, cwhistler wrote:
sorr but I don't understand where I would put that code. -- View this message in context: http://camel.465427.n5.nabble.com/Route-does-not-shut-down-if-there-is-no-message-on-poll-tp476108p4659580.html Sent from the Camel - Users mailing list archive at Nabble.com.
-- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Weibo: willemjiang