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
; -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
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
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.
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