camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vss123 <>
Subject Re: File component/language: preMove only
Date Mon, 08 Apr 2013 06:10:55 GMT
> And the other Camel is picking up that file. Eg it get processed? 
> So the failed to rename is a race condition because the other Camel 
> grabbed the same file, but was faster to do the rename? 

We believe this is what is happening. Even with readLock option two
instances pick the same file and one moves it before the other and hence the
other throws 'cannot rename' exception.

Any way to avoid this race condition?

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

View raw message