Hi Claus,

Thanks for the reply (and congratulations on the Camel in Action book - very
readable and a great intro to Camel).

Setting maxMessagesPerPoll=1 works but slows down the run hugely (from 10
seconds to around 10 minutes in my quick test).
Setting it to a higher value (e.g. 500) still works but runs quicker (back
to seconds).
However, setting it to a value such as 5000 causes the original problem -
not all files are moved.
Is this issue only when it is greater than the number of files?
Is there a reason why setting it to 0 (so no limit) fails when using the
ConsumerTemplate?

Thanks for any pointers.




--
View this message in context: 
http://camel.465427.n5.nabble.com/ConsumerTemplate-for-large-number-of-files-tp5733037p5733072.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to