Re: bean Registry

2017-01-25 Thread veeru_as
Is there any way to override default registry? One which I came across is add a bean like below. But after adding this am getting the bean not found error for below bean any ways to add this bean to jndi registry? -- View this message in context: http://camel.465427.n5.nabble.com/bean-Re

Re: bean Registry

2013-11-26 Thread Claus Ibsen
; -Original Message- > From: Willem jiang [mailto:willem.ji...@gmail.com] > Sent: Wednesday, November 13, 2013 1:27 AM > To: users@camel.apache.org > Subject: Re: bean Registry > > Hi , > > You need to use the SimpleRegistry to hold the reference of HelloBean and > p

RE: bean Registry

2013-11-26 Thread Singh, Surya Prakash
em jiang [mailto:willem.ji...@gmail.com] Sent: Wednesday, November 13, 2013 1:27 AM To: users@camel.apache.org Subject: Re: bean Registry Hi , You need to use the SimpleRegistry to hold the reference of HelloBean and pass it to the DefaultCamelContext just like this SimpleRegistry regist

Re: bean Registry

2013-11-13 Thread Manoranjitham G
Thanks a lot Willem. Its working fine.. :) -- View this message in context: http://camel.465427.n5.nabble.com/bean-Registry-tp5743143p5743185.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: bean Registry

2013-11-12 Thread Willem jiang
Hi , You need to use the SimpleRegistry to hold the reference of HelloBean and pass it to the DefaultCamelContext just like this SimpleRegistry registry = new SimpleRegistry(); registry.put(“HelloBean”, new HelloBean); CamelContext context = new DefaultCamelContext(registry); -- Willem Jiang