What is the bean code for that bean ? On Thu, Apr 7, 2016 at 7:22 AM, onders <ondersezgin+camelu...@gmail.com> wrote: > 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.
-- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2