Hi There is an option to turn on sorting before max limit. Set eagerMaxMessagesPerPoll=false
On Tue, Jul 21, 2015 at 10:40 AM, buffon <[email protected]> wrote: > Hello, > > what is the option to consume files from ftp one by one in a sorted order. > There is an option maxMessagesPerPoll=1, but then the files will be not > sorted before consuming. Currently if the polling interval is short then the > ftp consumer fetches the next file before the previous one has completed. > I'd like to consume them one by one. > > Thanks! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/ftp-consume-files-one-by-one-tp5769647.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: http://www.manning.com/ibsen2
