RE: First time create SFTP File and then Append to same in loop.

2016-09-01 Thread Goyal, Arpit
Message- From: souciance [mailto:souciance.eqdam.ras...@gmail.com] Sent: Thursday, September 1, 2016 1:52 AM To: users@camel.apache.org Subject: Re: First time create SFTP File and then Append to same in loop. Why don't you have append as Claus suggested but include a bean at the end o

Re: First time create SFTP File and then Append to same in loop.

2016-09-01 Thread souciance
ust 31, 2016 12:35 AM > To: [hidden email] <http:///user/SendEmail.jtp?type=node&node=5787068&i=1> > Subject: Re: First time create SFTP File and then Append to same in loop. > > Can you not just use fileExists=Append always so the data is always > appended if the file e

Re: First time create SFTP File and then Append to same in loop.

2016-09-01 Thread Claus Ibsen
Claus Ibsen [mailto:claus.ib...@gmail.com] > Sent: Wednesday, August 31, 2016 12:35 AM > To: users@camel.apache.org > Subject: Re: First time create SFTP File and then Append to same in loop. > > Can you not just use fileExists=Append always so the data is always > appended if th

RE: First time create SFTP File and then Append to same in loop.

2016-08-31 Thread Goyal, Arpit
ND); Regards, Arpit. -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Wednesday, August 31, 2016 12:35 AM To: users@camel.apache.org Subject: Re: First time create SFTP File and then Append to same in loop. Can you not just use fileExists=Append always so the data is al

Re: First time create SFTP File and then Append to same in loop.

2016-08-31 Thread Claus Ibsen
Can you not just use fileExists=Append always so the data is always appended if the file exists? On Wed, Aug 31, 2016 at 2:46 AM, Goyal, Arpit wrote: > Hi Colleagues, > > We have the following route: > > from("xxx:inbound").process(new > MyProcessor()).choice(when(header("record_count").isGreat