Route split, bean method call and new bean instance

2012-04-04 Thread maticpetek
executed in parallel and method "camelSpider" will be called on MyBeanClass. But what I would like to do is that every route will have new instance of MyBeanClass, not the some instance (Singleton design pattern). Any idea how to do this? Thank you Regards, Matic -- View this

Re: Route split, bean method call and new bean instance

2012-04-05 Thread Claus Ibsen
very route > will be executed in parallel  and method "camelSpider" will be called on > MyBeanClass. > But what I would like to do is that every route will have new instance of > MyBeanClass, not the some instance (Singleton design pattern). Any idea how > to do this? Thank

Re: Route split, bean method call and new bean instance

2012-04-05 Thread maticpetek
(top priority) book on read priority list... Thank you. Regards, Matic -- 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.

Re: Route split, bean method call and new bean instance

2012-04-05 Thread Claus Ibsen
nd 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.h