-
1. Re: Migrating spring camel to blueprint?
davsclaus Sep 25, 2011 6:57 AM (in response to jamie3_james.archibald)pax-exam can be used for unit testing with osgi.
-
2. Re: Migrating spring camel to blueprint?
njiang Sep 25, 2011 9:20 PM (in response to jamie3_james.archibald)As the Blueprint is provided as OSGi service, we can't use the more test support that we have in the camel-test module.
You can take a look at the camel-osgi-integration test in the tests directory , there are lots test support classes can help you by leveraging the PAX-EXAM that Claus had told you.
Willem
-
3. Re: Migrating spring camel to blueprint?
davsclaus Sep 26, 2011 2:21 AM (in response to njiang)In a future Camel release there will be a camel-osgi-test as a test kit, that helps people to unit test Camel applications with osgi.
But as Willem pointed out, you can take a look in that tests/camel-itest-osgi in the Camel source for examples how to.
https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi/
Fuse IDE allows you to deploy a Camel application you develop to Fuse ESB / Apache Karaf. This is a new feature in the latest release, which we continue to improve.