Yes, the file component does polling by default. How do you run your application? If it is standalone (plain Java), after having started the camel context, you must make the Thread to sleep (otherwise the camel context initiates its shutdown).
You can do that with, Thread.sleep after having started the context, or better by using org.apache.camel.Main or org.apache.camel.spring.Main class (see http://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html ) Stéphane On Sat, May 28, 2011 at 9:46 PM, sumatheja <[email protected]> wrote: > You mean to say it does polling by default?? In my case the context is just > shutting down without polling.... i tried delay option too but same > result..... > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-Poller-tp4435442p4435709.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
