-
1. Re: How to add camel-context to SMX features
njiang Feb 12, 2012 10:20 PM (in response to lekkie_lomotayo)I think we need to have a look at your route.
-
2. Re: How to add camel-context to SMX features
lekkie_lomotayo Feb 13, 2012 10:49 AM (in response to njiang)Please see listing below:
Listing ${karaf.home}/route.xml
-
3. Re: How to add camel-context to SMX features
njiang Feb 13, 2012 9:12 PM (in response to lekkie_lomotayo)You are using OSGi and spring-dm, it makes your life harder.
It looks like your camel context is not loaded when your camel context component try to use it.
Can you import the osgi service in your spring configure and add a dependency-on on the camel context service you want to reuse ?
-
4. Re: How to add camel-context to SMX features
lekkie_lomotayo Feb 14, 2012 5:34 AM (in response to njiang)I'msorry, not much of a camel or spring expert. Can u show some simple snippet to achieve this?
How do I import an osgi service into my spring configure?
How do I add a dependency-on on my re-used service?
regards.
-
5. Re: How to add camel-context to SMX features
lekkie_lomotayo Jan 15, 2013 4:48 AM (in response to njiang)Hi,
I have not been able to get this to work. I will appreciate if you can give sample codes on how to "import the osgi service in your spring configure and add a dependency-on on the camel context service you want to reuse".
Regards.