Thanks Charles, Can you point me to some example using it with spring xml so I can see how it works. Charles Moulliard-2 wrote > > 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@> 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 >
-- View this message in context: http://camel.465427.n5.nabble.com/Fetching-data-in-batches-tp5718366p5718368.html Sent from the Camel - Users mailing list archive at Nabble.com.
