I think the code snippet i sent earlier had outputClass option missing.
(I was playing it around).
So what i meant to describe was as the following...
from("sql:select rowid vrow_id from myTable where nstatus =
0?*outputClass=" + MyBean.class.getName()
+ "*&onConsume=update myTable set nstatus = 1 where VROW_ID
= :#${body.vrow_id}")
.routeId("mySimpleRoute").threads(5).to("direct:generateLine").end();
--
View this message in context:
http://camel.465427.n5.nabble.com/DefaultSqlPrepareStatementStrategy-lookupParameter-when-onConsume-used-in-SQL-component-tp5780437p5780627.html
Sent from the Camel - Users mailing list archive at Nabble.com.