0 Replies Latest reply on May 20, 2013 9:57 AM by g8torpaul

    Loading multiple dependencies

    g8torpaul

      I am curious, What is the best way to load multiple 3rd Party dependencies into JBoss OSGI? As an example, if I wanted to load in Apache Camel, I could load each library in as a deployed bundle, one at a time. Or as a subsystem Capability on startup. However, I would end up having to load in each Camel library as well as all of it's dependencies which seems like a lot work. A problem that seems to have been solved already via Maven. Under the hood, it appears that Capabilities use the MavenArtifactRepository which looks at my local Maven repo. However, adding "camel-spring" as a Capability does not recurse through POM dependencies to find Spring, etc.. I am familiar with systems like Fuse/ServiceMix/Karaf which comes with a lot of out-of-the-box features for enterprise integration and so I was curious how this could be done in the JBoss OSGI world.

       

      Thanks.

       

      Paul Manning