camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <ch0...@gmail.com>
Subject Re: Fetching data in batches
Date Thu, 30 Aug 2012 10:44:13 GMT
Hi Mehta,

As Apache Camel proposes some BatchConsumer (JPA, ...) you can always use
one of them (http://camel.apache.org/batch-consumer.html) to poll data
before to send them in a camel route.

Regards,

Charles

On Thu, Aug 30, 2012 at 12:25 PM, me.mehta <meenumeenu4@gmail.com> wrote:

> Hi,
>
> I have a requirement where I am getting large number of rows from sql
> endpoint in camel, and then processing each record and writing to a file.
> I want to know if there is some way to fetch the data in batches rather
> than
> in a go.
>
> Thanks,
> Mehta
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Fetching-data-in-batches-tp5718366.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Charles Moulliard
Apache Committer / Sr. Pr. Consultant at FuseSource.com
Twitter : @cmoulliard
Blog : http://cmoulliard.blogspot.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message