Hi, meanwhile I suspect Windows (or the Java VM, not Camel) to be the culprit for not unlocking files immediately after renaming. There's an extended version of the Windows MoveFile-API function (MoveFileEx) that takes extra flags to force Windows to flush copy and delete operations to disk *before* returning from the MoveFile function.
It might be possible that this API call is *not used* in the current Java 6 VM implementation. I think it's possible to reproduce the (bad) behavior even with correctly closed InputStreams for example with Java copy and delete operations in quick succession. To be more precise, the questions are: 1.) Is there a workaround (e.g. timeout or retry parameters) for my current runtime config ? 2.) Are all Camel components Java 7 ready ? 3.) Is this bug fixed in Java 7 ? -- View this message in context: http://camel.465427.n5.nabble.com/File-renaming-problems-under-Windows-tp5719484p5719517.html Sent from the Camel - Users mailing list archive at Nabble.com.