Try with newer release, there may have been a bug fix On Fri, Jan 9, 2015 at 6:47 PM, yeandone <willcours...@gmail.com> wrote: > HI, Claus. > > Thanks for the prompt reply! I am using Camel 2.12. I also tried adding > aync=true in controlbus > <to uri="controlbus:route?routeId=A_Route&aync=true&action=stop" /> > > It does help delete the file, but it has some issues with polling. Until > the file get deleted and control bus stops, the route still keeps polling > for a while. What I want to do is deleting original file after it's > processed by direct: a and direct: b and then stop the route which will stop > the file polling from the sftp location. If nothing is picked, then I want > to do some processing in direct:b and then stop the route and polling > immediately. Any ideas to resolve the issue? > > Thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Help-FTP-SFTP-File-Delete-Problem-and-FTP-SFTP-Polling-Problem-tp5761486p5761535.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 hawtio: http://hawt.io/ fabric8: http://fabric8.io/