Hi

I am running the catch IOException as unit tests now on Camel 2.0.

So if any of you guys is bored during the x-mas you could test the
Camel 2.0 camel-core.jar to see if it can handle the MS Office test ;)
Beware it have new URI options for setting the read lock. By default
it uses FileLock as Camel 1.x does.



On Fri, Dec 19, 2008 at 11:03 AM, Claus Ibsen <claus.ib...@gmail.com> wrote:
> 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/
>



-- 

/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/

Reply via email to