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 move processed files to an archive folder.

My route looks like 


from("file:target/filestress?maxMessagesPerPoll=50&readLock=markerFile&move=archive")
.routeId("foo").noAutoStartup().threads(2)

Should these test considered successful when having files processed twice?
Should I open a jira for this?








--
View this message in context: 
http://camel.465427.n5.nabble.com/FileAsyncStressReadLockLockFileTest-and-maxMessagePerPoll-tp5735083p5735130.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to