If your requirement is to process files at specific time of the day then I think it would be best to use route with cron scheduler route policy.
@Override public void configure() throws Exception { CronScheduledRoutePolicy routePolicy = new CronScheduledRoutePolicy(); routePolicy.setRouteStartTime(cronStart); routePolicy.setRouteStopTime(cronStop); from(dir) .to(validate) // if valid then write to different dir with valid files .to(file:/output) ; from(dirValid) .noAutoStartup() .routePolicy(routePolicy) .to(db load) .to( processcomplete); } In this way you decoupling two processes and making sure that files are only processed at specific time of the day using CronScheduledRoutePolicy. -- View this message in context: http://camel.465427.n5.nabble.com/Resume-an-Endpoint-in-a-Route-tp5747151p5747246.html Sent from the Camel - Users mailing list archive at Nabble.com.