Can you try with SNAPSHOT code. I think its fixed on master, and
possible also on the 2.11 branch.

On Fri, Aug 2, 2013 at 11:10 AM, Marco Crivellaro <marco.cr...@gmail.com> wrote:
> Hi All,
> I am using Camel 2.11.2 with a spring context.
> In my route I am calling a bean method passing 2 wildcard params and a
> string.
>
> for example:
>
> <to uri="bean:theHeaderUtil?method=SetMissingHeaderToZero(*, 'XHeader1')" />
>
>
> method signature is:
> SetMissingHeaderToZero(Exchange exchange, String headersCSV)
>
> everything works fine but camel is writing following WARN:
> WARN  org.apache.camel.util.ObjectHelper  - Cannot find class: XHeader1
>
> is there a way to let camel now it should not try to match the parameter
> with a class?
> Am I doing something wrong?
>
> Thanks,
> Marco
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/bean-String-parameter-binding-tp5736688.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



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

Reply via email to