This content has been marked as final.
Show 2 replies
-
1. Re: Access to Spring beans through the CamelContext?
davsclaus Apr 21, 2009 9:07 AM (in response to roger)Yes the org.apache.camel.spi.Registry will lookup in the spring beans.
In the Java code you can do it like:
Object myBean = camelContext.getRegistry().lookup("myBean");
-
2. Re: Access to Spring beans through the CamelContext?
roger Apr 21, 2009 4:03 PM (in response to davsclaus)Works perfectly, THANKS once again!!
Regards,
Roger