You can set delete=true to delete the file after you have processed the file in Camel. Though that would delete the file on the FTP Server.
There is also options to move the file instead of deleting it etc. Or use a idempotent consumer in Camel so it will skip the same file etc. And some other options. Its more what you need to do. On Wed, Jul 24, 2013 at 10:54 AM, life1style1 <chakravarty.sou...@gmail.com> wrote: > Thank you so much Claus. > > It worked for me. > Now the issue is that the same file is being polled continuously until the > sleep value ends. > Any configurations available to avoid this? > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Message-not-getting-delivered-from-FTP-to-Activemq-tp5736181p5736185.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen