Hi Jeff,
I think you have to separate between the camel context and routes. If I
understand your case correctly you want to load an externally defined
route (as xml file) into your running camel context?
So a simple solution would be to create a bundle with the camel context
and one route that reads your route from file system, ftp or what ever.
Then processing the route xml and giving the route to the camel context
(see http://camel.apache.org/loading-routes-from-xml-files.html).
Best regards - Claus
On 25.05.2011 17:44, jguion wrote:
I am fairly new to OSGI and have never explicitly used the spring extender
but it looks like it is automatically installed if you use spring-dm. I can
take that approach and bundle up just my camel-context.xml and when I hot
deploy it, it will run the route correctly. I was trying to find a way to
just create a custom camelcontext file from our application instead of
having to create a whole bundle (jar).
It still seems strange I cannot use my own activator if I have one defined.
I think that if the camel-core bundle is installed and running in your
container, Karaf will try to use the camel activator and bypass any other
Activators, even for bundles that do not use camel and have no camel
dependencies. Would anyone be able to confirm this or know of a work around?
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Activator-OSGI-tp4422370p4425706.html
Sent from the Camel - Users mailing list archive at Nabble.com.