Apache Camel Cron Job scheduling
<p>New to Apache camel, I have a requirement that I need to look for a folder and move the files from source to destination every five minutes. I wrote the below code, but when I run the Job it is copying the files to destination irrespective of time when I copy the files to source, Please help me in understanding this :</p>

<pre><code>import org.apache.camel.CamelContext;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.impl.DefaultCamelContext;
import org.apache.camel.routepolicy.quartz.CronScheduledRoutePolicy;

public class App1 {

    public static void main(final String[] arguments) {
        final CamelContext camelContext = new DefaultCamelContext();
        try {
            camelContext.addRoutes(new RouteBuilder() {
                @Override
                public void configure() throws Exception {

                    CronScheduledRoutePolicy startPolicy = new CronScheduledRoutePolicy();
                    startPolicy.setRouteStartTime("0 0/5 * 1/1 * ? *");

                    from("file:E:\\TestingWatch1\\input")
                        .routeId("testRoute").routePolicy(startPolicy)
                        .to("file:E:\\TestingWatch1\\output");

                }
            });
            camelContext.start();
            Thread.sleep(10000);
            //camelContext.stop();
        } catch (Exception camelException) {
        }
    }

}
</code></pre>