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
ng for some header where I can toggle the value of 'fileExists'.
> >
> > Can I change end point configuration using some custom bean? Please
> help.
> >
> > Regards,
> > Arpit.
>
>
>
> --
> Claus Ibsen
> -
> http://davsclaus.com @davsclaus
>
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
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
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
Hi Colleagues,
We have the following route:
from("xxx:inbound").process(new
MyProcessor()).choice(when(header("record_count").isGreaterThan(0)).to("sftp://xyx[?options]";).to("xxx:inbound").otherwise(new
MyEndProcessor())
It is a simple loop condition using choice where one branch process data