Hello Samuel! I think these both classes are interesting for you [1], [2]. This is the way Camel itself tests whether its components are OSGI ready.
I also created/hold a ticket [3] to provide a bundle which customers/users can use to test their bundles in OSGI. [1] https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/OSGiIntegrationTestSupport.java [2] https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/OSGiIntegrationSpringTestSupport.java [3] https://issues.apache.org/jira/browse/CAMEL-3777 Hope this helps. Best, Christian
