camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-3584) Concurrent writes to the same file has race condition
Date Mon, 24 Jan 2011 15:19:43 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-3584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985733#action_12985733
] 

Claus Ibsen commented on CAMEL-3584:
------------------------------------

The workaround is to use {{threads(1)}} before the file endpoint to force single threaded
access to the file producer.

> Concurrent writes to the same file has race condition
> -----------------------------------------------------
>
>                 Key: CAMEL-3584
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3584
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.5.0
>            Reporter: Claus Ibsen
>             Fix For: 2.7.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Using-Splitter-and-file-producer-with-option-fileExist-Append-failed-tp3353618p3353618.html
> We need to synchronize on the file name to avoid concurrent writes to the same file.

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


Mime
View raw message