On Fri, Feb 8, 2013 at 8:49 PM, Gardella juan
<gardellajuanpa...@gmail.com> wrote:
> Hi all,
>
> In the page http://camel.apache.org/bean-binding.html said:
>
> "In the example above, we invoke the echo method with two parameters. The
> first has the content 'World' (without quotes), and the 2nd has the value of
> 5."
>
> But I put in a route:
>
> .to("bean:handler?method=log('I1000')");
>
> And in the bean has:
>
> public void log(String code, Exchange e) {
> ..
> // here receive I1000'
> }
>
> It seems it is a bug. Do I have to open a new bug about this?
>

Possible. Have you tried as the doc says, without quotes.

 .to("bean:handler?method=log(I1000)");


> Thanks,
> Juan
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Bug-in-bean-binding-Don-t-remove-last-quote-tp5727250.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to