ntext, then this smells like Im
> doing something I should not be doing, i.e. bypassing the 'right' way of
> doing things...
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Programatically-adding-beans-to-a-registry-in-a-RouteBuilder-tp5729358p5729370.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
amatically-adding-beans-to-a-registry-in-a-RouteBuilder-tp5729358p5729370.html
Sent from the Camel - Users mailing list archive at Nabble.com.
It may, or may not be wrapped in PropertyPlaceholderDelegateRegistry,
in that case, I would try this:
Registry registry = context.getRegistry();
if (registry instanceof PropertyPlaceholderDelegateRegistry)
registry =
((PropertyPlaceholderDelegateRegistry)registry).getRe
On Mon, Mar 18, 2013 at 2:02 PM, Gert Villemos wrote:
> Hmmm... tried that but doesnt work.
>
> getContext() returns a
> org.apache.camel.impl.PropertyPlaceholderDelegateRegistry object. Which cant
> be cast to JndiRegistry.
>
> My setup is the following; In a Spring based route I have bean A. Bea
RouteBuilder, and add
bean B's routes to the context. Bean A thus 'starts' bean B.
--
View this message in context:
http://camel.465427.n5.nabble.com/Programatically-adding-beans-to-a-registry-in-a-RouteBuilder-tp5729358p5729365.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Mon, Mar 18, 2013 at 12:16 PM, Gert Villemos wrote:
> How can I in the 'configure' method of a RouteBuilder add beans to the
> registry?
>
> Im in a RouteBuilder creating a route using Netty. The Netty URL reference
> encoder/decoder beans. I need to create and insert these beans in the
> regis
I doing wrong?
--
View this message in context:
http://camel.465427.n5.nabble.com/Programatically-adding-beans-to-a-registry-in-a-RouteBuilder-tp5729358.html
Sent from the Camel - Users mailing list archive at Nabble.com.