camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spilled_beverage <>
Subject Re: ConsumerTemplate for large number of files
Date Fri, 24 May 2013 08:30:13 GMT
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

Thanks for any pointers.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message