Hi,
I want my camel file method to pick 5 files simultaneously and process .
using maxMessagesPerPoll its only pick one file .Please can you help me on
this.
Can you please explain me how it works
--
View this message in context:
http://camel.465427.n5.nabble.com/FileAsyncStressReadLockLock
Thanks saltniight5, it works like a charm now.
Afroze take a look at
https://fisheye6.atlassian.com/browse/camel-git/camel-core/src/test/java/org/apache/camel/component/file/stress/FileAsyncStressTest.java?hb=true
--
View this message in context:
http://camel.465427.n5.nabble.com/FileAsyncS
It works for me when I use "preMove" into a staging folder first. Try this:
from("file:target/filestress?maxMessagesPerPoll=50&preMove=processing&move=archive")
--
View this message in context:
http://camel.465427.n5.nabble.com/FileAsyncStressReadLockLockFileTest-and-maxMessagePerPoll-tp5735
I ran various org.apache.camel.component.file.stress.FileAsyncStressTest
tests and when the initial files in the inbox folder are 2000 and
maxMessagesPerPoll is 50, I always get files being processed twice with all
readLock options, except rename.Mind that I am using an additional move
option to m