hello,
I tried using the readSize option in the JDBC , but does not work. Is it
that it won't work because I am using split with StreamList . I just want to
get row By row from a DB , but i want only the first 10 rows. Currently it
gets all the rows . Me code as below.
from("timer://getData?period=2h").setBody(constant(from)).to("jdbc:DS?readSize=10&outputType=StreamList").split(body()).process(new
CustomProcessor(CustomConstants.DB)).to(to);
regards,
Felix T
--
View this message in context:
http://camel.465427.n5.nabble.com/readSize-option-JDBC-component-not-working-for-split-tp5769042.html
Sent from the Camel - Users mailing list archive at Nabble.com.