Hi

There is no such lock for the producer. You would need to implement
your own strategy for that.


On Wed, Sep 10, 2014 at 11:05 PM, karthik.subramanian2
<[email protected]> wrote:
> We are able to replicate that two separate instances writing to the same file
> using Camel File component is corrupting the data. But do we have to
> implement custom file locking strategy ? Is there an option in Came to lock
> when writing a file similar to "readLock"  when Consuming a file ?
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Multiple-instances-writing-to-the-same-file-corrupts-data-tp5756257p5756294.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to