camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Route split, bean method call and new bean instance
Date Thu, 05 Apr 2012 09:57:32 GMT
On Thu, Apr 5, 2012 at 9:13 AM, maticpetek <> wrote:
> Hi Claus,
>  Thank you for reply. Any idea how to do this without bean container
> technology? I really wound not like to add another technology stack to our
> application. Or maybe better question : is it possible to do this without
> bean container technology? So I know if Sprint would become my next (top
> priority) book on read priority list... Thank you.
> Regards,
>  Matic

Camel is not a bean container. You can use a static method on a bean,
that creates a new instance of the bean you want to invoke and invoke
the method.

Then you can let Camel invoke the static method as you can do with the
bean(MyBean.class, "myStaticMethodName")

> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
CamelOne 2012 Conference, May 15-16, 2012:
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message