camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: DefaultSqlPrepareStatementStrategy lookupParameter when onConsume used in SQL component
Date Thu, 07 Apr 2016 05:37:21 GMT
Oh so you are using _ in the getters, try with

:#${body.getVrow_id()}"

I wonder if the getter detection has a glitch when you use underscores.

On Thu, Apr 7, 2016 at 7:30 AM, onders <ondersezgin+cameluser@gmail.com> wrote:
> Here it is;
>
> import java.io.Serializable;
>
> public class MyBean implements Serializable {
>
>         /**
>          *
>          */
>         private static final long serialVersionUID = 1L;
>         private String vrow_id;
>
>         public String getVrow_id() {
>                 return vrow_id;
>         }
>         public void setVrow_id(String vrow_id) {
>                 this.vrow_id = vrow_id;
>         }
>
> }
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/DefaultSqlPrepareStatementStrategy-lookupParameter-when-onConsume-used-in-SQL-component-tp5780437p5780629.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

Mime
View raw message