Re: Best way to poll a database and process in chunks

2017-04-06 Thread dvlato
Hello Claus, Ibsen: Thank you very much for the thorough responses. We don't really need to use the JPA component, and I think it makes more sense to use sql/jdbc for the kind of bulk operations we want to do. What I think it would be really useful is to allow for the "onConsumeBatchComplete" SQ

Best way to poll a database and process in chunks

2017-03-24 Thread dvlato
Hello, I have just started working with Camel and I have what I believe is a pretty common requirement: poll the database to fetch all the records with a certain status, and process them in chunks (let's 10 rows at a time). I though I could leverage the existing components to do this easily but I