Quantcast
Viewing all articles
Browse latest Browse all 5648

FileAsyncStressReadLockLockFileTest and maxMessagePerPoll

Can you explain a little bit more this comment in
org.apache.camel.component.file.stress.FileAsyncStressReadLockLockFileTest?
// leverage the fact that we can limit to max 50 files per
poll
// this will result in polling again and potentially picking
up files
// that already are in progress

Is it safer to have a bigger or smaller maxMessagePerPoll in order to
avoid picking files that are already in process? Is there a way to
guaranty that a file will never be picked twice?

Viewing all articles
Browse latest Browse all 5648

Trending Articles