You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by vss123 <vs...@gmail.com> on 2013/04/08 08:10:55 UTC

Re: File component/language: preMove only

> 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.