Hi Use maxMessagesPerPoll=1 when using the consumer template in the way you do.
On Thu, May 23, 2013 at 6:03 PM, spilled_beverage <grahamduck...@yahoo.co.uk> wrote: > I'm consuming from a directory which can contain a large number of files > (currently trying with 1500). > When using a basic route all is fine and all files are moved from input to > output; > > > > However, I need to use the ConsumerTemplate with something similar to; > > > The problem is that running with the ConsumerTemplate is not working. The > majority of the files are moved (around 1150 but different each time) but > not all are. The ones left in the input folder also have a .camelLock file > but they are not moved. > > I've had a look through the documentation but can't find anything that > obviously addresses this issue. > Any help or pointers would be very gratefully received as I can't figure out > what the problem is. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/ConsumerTemplate-for-large-number-of-files-tp5733037.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- www.camelone.org: The open source integration conference. Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen