On Fri, Dec 19, 2008 at 10:53 AM, Ramon Buckland <ramon.buckl...@gmail.com> wrote: > Yes the AV could do it also .. (you are correct, it is not just *.doc, *.xls > etc). > > Always a big culprit (the AV scanner) I guess we could add support for try .. catch (IOException) in Camel 2.0 for the read locks. As we now have timeout support as well you can set eg 5000 millis as timeout. If the lock couldn't be granted then Camel will retry again on the next poll().
> > > On Fri, Dec 19, 2008 at 20:44, watcher <patr...@daly.ws> wrote: > >> >> Great. Will give it a go over the weekend. >> Associating microsofts products ( xls , doc etc ) with wordpad seems to get >> over the problem. >> It looks like these files create a temporary file for recovery purposes. >> >> However on our test server the file in question was a txt file that threw a >> FileNotFoundException. >> Maybe anti virus was running? >> >> >> >> Claus Ibsen-2 wrote: >> > >> > On Thu, Dec 18, 2008 at 9:41 PM, watcher <patr...@daly.ws> wrote: >> >> >> >> Yeah, I tried opening a txt file with wordpad and notepad and had no >> >> problems. >> >> >> >> Associating a txt file with Excel will cause a problem. >> > For what is worth it, we have a new strategy in Camel 2.0 to use >> > rename instead of FileLock so that might work for this strange issue >> > with Excel. >> > >> >> >> >> >> >> >> >> >> >> >> >> Thanks Claus. Enjoy the xmas break and have a happy new year. >> > You too. >> > >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/FileComponent-FileNotFoundException-tp21054406s22882p21080535.html >> >> Sent from the Camel - Users mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> > >> > -- >> > >> > /Claus Ibsen >> > Apache Camel Committer >> > Blog: http://davsclaus.blogspot.com/ >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/FileComponent-FileNotFoundException-tp21054406s22882p21088466.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> >> > -- /Claus Ibsen Apache Camel Committer Blog: http://davsclaus.blogspot.com/