camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vss123 <vss...@gmail.com>
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: http://camel.465427.n5.nabble.com/File-component-language-preMove-only-tp1843111p5730477.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message