[ 
https://issues.apache.org/activemq/browse/CAMEL-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52095#action_52095
 ] 

Claus Ibsen commented on CAMEL-1670:
------------------------------------

> OK. My process reads a file, does some work on it, writes it to output,
> then saves the results to a database. If the same file is processed twice
> there is a database error.

Can you show the route that does this? What do you mean writes it to output? 
Which output?

We have server farms that tests Camel on all sorts of platforms, and of course 
also incl. windows and we have never had the exception you say you have.
But we need more accurate information to be able to construct an unit test that 
resembles what you do to be able to reproduce the issue on Windows.

So please help provide the details.

> thread() and File Components
> ----------------------------
>
>                 Key: CAMEL-1670
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1670
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0-M1
>         Environment: Microsoft Windows XP
>            Reporter: Joe Gottman
>
> I just experimented with adding calls to thread(10) to my route to make it 
> multithreaded.  This definitely speeds up by route, but it keeps throwing 
> java.nio.channels.OverlappingFileLockException  errors and leaving lock files 
> behind it.  The start of my route looks like
>  
> from("file:\\startDirectory?move=endDirectory")
> .threads(10)
> .bean("myBean", "myMethod")
> Afterwards, my route ran successfully but an OverlappingFileLockException was 
> thrown for every file that was read and all the lock files were left in my 
> source directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to