So maybe its your maxRows=1000 that is the problem, so when you are trying to get rows > 1000 then it throws that exception.
What is your use case? You want to select * from a table, but only the first 1000 rows? On Wed, Nov 5, 2014 at 10:05 PM, Tim Dudgeon <tdudgeon...@gmail.com> wrote: > On 05/11/2014 19:07, Claus Ibsen wrote: >> >> maxRowSize ??? do you mean fetchSize? > > > Sorry, I mean maxRows (as in the example here: > http://camel.apache.org/jdbc.html). > So something like: > > .to('jdbc:myDataSoruce?outputType=StreamList&statement.fetchSize=100&statement.maxRows=1000') > > >> >> Also which version of Camel do you use? > > > 2.14 > > Tim > -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/