On Thu, Apr 5, 2012 at 9:13 AM, maticpetek <[email protected]> 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: > http://camel.465427.n5.nabble.com/Route-split-bean-method-call-and-new-bean-instance-tp5618418p5619692.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
