You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Walzer, Thomas" <th...@integratix.net> on 2013/03/04 10:12:29 UTC

Re: [Spam]: Re: Is there batch functionality in Camel?

Another approach:

http://blog.nanthrax.net/2011/08/use-camel-cxf-and-karaf-to-implement-batches/

Am 28.02.2013 um 17:18 schrieb "Vasilev, Ivan" <Iv...@softwareag.com>:

> Thanks Henryk and Maruan!
> 
> It really helped.
> 
> Best Regards,
> Ivan
> 
> -----Original Message-----
> From: Henryk Konsek [mailto:hekonsek@gmail.com] 
> Sent: Wednesday, February 27, 2013 10:27 PM
> To: users@camel.apache.org
> Subject: [Spam]: Re: Is there batch functionality in Camel?
> 
> Hi Ivan,
> 
>> I wonder if the Spring Batch Component (
>> http://camel.apache.org/springbatch.html) is proper to use in this case?
> 
> You can use CamelItemReader to pass messages into Spring Batch.
> However I would say that your case is too simple to use Spring Batch for this purpose.
> 
> I would advise to use aggregator instead.
> 
> from("seda:queue").
>  aggregate().groupExchanges().
>  completionSize(1000).completionTimeout(10000).
>  to("seda:aggregatedResults");
> 
> Best regards.
> 
> --
> Henryk Konsek
> http://henryk-konsek.blogspot.com