I don't actually just move the files from one folder to another - they are
consumed from file (via ConsumerTemplate) but then go to a direct route and
a whole host of other stuff happens - I just simplified the example in order
to be as clear as possible in my post.
My consumer either reads from a
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 work
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