rds,
Arpit.
-Original Message-
From: Claus Ibsen [mailto:claus.ib...@gmail.com]
Sent: Tuesday, November 1, 2016 3:41 AM
To: users@camel.apache.org
Subject: Re: Zip all files available in folder - synchronously
You cannot do this the aggregate is in 2 different threads.
Don't use the dire
You cannot do this the aggregate is in 2 different threads.
Don't use the direct endpoint but do something different to trigger
the route to start and aggreage those files, and then get an event
when its done, which you can then use to know when the zip is ready.
On Mon, Oct 31, 2016 at 11:04
.
-Original Message-
From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net]
Sent: Monday, October 31, 2016 11:14 PM
To: users@camel.apache.org
Subject: Re: Zip all files available in folder - synchronously
Hi Arpit,
The aggregate should work for that. All depends on the "stopping cond
Hi Arpit,
The aggregate should work for that. All depends on the "stopping condition".
Regards
JB
On 10/31/2016 11:04 PM, Goyal, Arpit wrote:
Hi Colleagues,
I want to read all file and aggregate into one single zip, but the batch
consumer always run in different thread. What needs to be done
Hi Colleagues,
I want to read all file and aggregate into one single zip, but the batch
consumer always run in different thread. What needs to be done additionally to
get the response synchronously?
Regards,
Arpit.
DefaultCamelContext c = new DefaultCamelContext();
try {
c.addRout