On Thu, Nov 29, 2012 at 10:12 AM, Hildegard Schedthelm <[email protected]> wrote: > Hello Claus! > > Thanks a lot for helping. > > > I cannot conceive how a different poll interval can help to start polling at > all. > > The ftp component derived from the file component that has the batch consumer > > implemented to poll multiple exchanges. When I start downloading e.g. about > 10 files from > > a ftp server I'd infer that polling occurs just once. That might be the > reason the re-connect > > doesn't trigger as a consequence no polling occurs any more. Are theses > notions correct? >
If you download 4 files, and have problem with the 5th, then the consumer will fail. And on next scheduled poll, it will re-connect and start again, but as the previous 4 files has been downloaded, then it will start with the 5th file. > > Cheers > Hilde > > > > ________________________________ > Von: Claus Ibsen <[email protected]> > An: [email protected] > Gesendet: 19:01 Mittwoch, 28.November 2012 > Betreff: Re: ftp-consumer: recovering a previous established connection > > On Tue, Nov 27, 2012 at 8:57 AM, Hildegard Schedthelm > <[email protected]> wrote: >> Hello All! >> >> Has someone any ideas how to trigger a reconnect? A new poll probably not >> occur. >> > > The ftp consumer is scheduled. There is options to configure how > frequent it should poll. > By default that's very fast, I think its half a second interval > between last pool ends. > >> >> Hilde >> >> >> >> ________________________________ >> Von: Hilde <[email protected]> >> An: [email protected] >> Gesendet: 12:55 Montag, 26.November 2012 >> Betreff: Re: ftp-consumer: recovering a previous established connection >> >> When does the next poll starts? My debugging session under the hood of camel >> couldn't discover any activities to call for a reconnect although >> downloading >> files was still in progress. Is a new poll suspended because the ftp >> component >> implements the Batch Consumer? How can I trigger a new poll explicitly that >> causes camel with an attempt to reconnect? >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/ftp-consumer-recovering-a-previous-established-connection-tp5723161p5723231.html >> Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > FuseSource is now part of Red Hat > Email: [email protected] > Web: http://fusesource.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
