camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrique Viecili <viec...@gmail.com>
Subject Re: Multiple instances writing to the same file corrupts data
Date Wed, 10 Sep 2014 03:37:00 GMT
http://en.wikipedia.org/wiki/Record_locking

Henrique Viecili

On 10 September 2014 02:11, karthik.subramanian2 <
karthik.subramanian2@target.com> wrote:

> Team,
>
>  I have a process which receives messages from an websphere MQ and then
> marshals the data with Camel bindy into pipe delimited text and then
> appends
> to an already existing text file.
>
> There are two JVMs in which the process is running. When i switch off the
> listener in one of the JVMs, the entire process in working fine, but if
> both
> the MQ listeners are running (in two separate servers), the end output i.e
> the camel file has few rows corrupted in an intermittent fashion. Not
> happens always.
>
> I suspect that there is a problem with two separate servers writing to the
> same file. Any ideas how to resolve it ?
>
> Thanks,
> Karthik
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Multiple-instances-writing-to-the-same-file-corrupts-data-tp5756257.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message