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: Bug in bean-binding? Don't remove last quote
Date Tue, 12 Feb 2013 10:32:21 GMT
On Sat, Feb 9, 2013 at 11:26 AM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
> On Fri, Feb 8, 2013 at 8:49 PM, Gardella juan
> <gardellajuanpablo@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?
>>
>

I created an test to reproduce the issue
http://svn.apache.org/r1445093

It works in Camel 2.11.

What Camel version do you use?


> And yes even with the quotes it smells like a bug. Feel free to log a JIRA.
>
>
>> 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: cibsen@redhat.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



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

Mime
View raw message