No you cannot do that with the bean component.

On Wed, Dec 4, 2013 at 8:07 AM, ssiegl <[email protected]> wrote:
> Hello,
>
> ich habe a bean method like this
>
> void operation(String id, Class<T> type)
>
> Is it possible - without a processor - to call this method with Camel:
>
> to("bean:myBean?method=operation('abc',MyGenericClass)")
>
>
> In the class MethodInfo i found this comment:
>
> // it may be a parameter type instead, and if so, then we should return
> null,
> / as this method is only for evaluating parameter values
>
> br Stefan
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Invoking-bean-method-with-Class-T-tp5744284.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to