Hi Please use the @user mailing list / user forum for asking these kind of questions.
On Mon, Sep 8, 2014 at 11:03 PM, karthik.subramanian2 <karthik.subramani...@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/CAMEL-FILE-Component-Multiple-instances-appending-to-the-same-file-tp5756212.html > Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/