Re: Bean invocation .class vs new

2015-03-30 Thread yuncil
No ideas? Anyone? -- View this message in context: http://camel.465427.n5.nabble.com/Bean-invocation-class-vs-new-tp5764039p5765004.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Bean invocation .class vs new

2015-03-30 Thread Claus Ibsen
.nabble.com/Bean-invocation-class-vs-new-tp5764039p5764474.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

Re: Bean invocation .class vs new

2015-03-20 Thread yuncil
-invocation-class-vs-new-tp5764039p5764474.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Bean invocation .class vs new

2015-03-16 Thread yuncil
Hey Claus, thank you I got it now. -- View this message in context: http://camel.465427.n5.nabble.com/Bean-invocation-class-vs-new-tp5764039p5764217.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Bean invocation .class vs new

2015-03-12 Thread Claus Ibsen
to reuse MyBeanA in the third line? You say the bean component caches and reuse the object, but when does the cache gets cleared? I guess only if my application will shut down, am I wrong? thanks -- View this message in context: http://camel.465427.n5.nabble.com/Bean-invocation-class-vs-new

Bean invocation .class vs new

2015-03-12 Thread yuncil
than one instance of MyBeanA. Every instance of every bean should be created just once per route-invocation. I hope It was understandable, maybe one of you can give me a hint. Thank you in advance regards -- View this message in context: http://camel.465427.n5.nabble.com/Bean-invocation-class

Re: Bean invocation .class vs new

2015-03-12 Thread yuncil
component caches and reuse the object, but when does the cache gets cleared? I guess only if my application will shut down, am I wrong? thanks -- View this message in context: http://camel.465427.n5.nabble.com/Bean-invocation-class-vs-new-tp5764039p5764042.html Sent from the Camel - Users mailing list

Re: Bean invocation .class vs new

2015-03-12 Thread Claus Ibsen
-invocation-class-vs-new-tp5764039.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 hawtio: http