Re: JDBC component handling large results

2013-04-09 Thread Claus Ibsen
Hi You should just return something that is iterable, then the Camel splitter EIP can use that in streaming mode. Then you can support loading data on the fly, and page in data in bulks as needed. On Tue, Apr 9, 2013 at 11:26 AM, yazan wrote: > Of course, but I was hoping I can add support f

Re: JDBC component handling large results

2013-04-09 Thread yazan
Of course, but I was hoping I can add support for something similar to spring batch JDBCurserItemReader or JDBCPagingItemReader where the framework handles most of the details of reading a large result. -- View this message in context: http://camel.465427.n5.nabble.com/JDBC-component-handling-l

Re: JDBC component handling large results

2013-04-08 Thread Christian Müller
You can limit the returned row count in your query. Does this work for you? Sent from a mobile device Am 08.04.2013 16:35 schrieb "yazan" : > The JDBC component currently reads all the rows returned by a query in one > shot, this only works for small resultsets. I'm trying to modify the > compone