« Return to Thread: [Heads Up] added an OSGi system test for running Camel in Felix & Equinox

Re: [Heads Up] added an OSGi system test for running Camel in Felix & Equinox

by willem.jiang :: Rate this Message:

Reply to Author | View in Thread

Yeah, it's definitely a good new for me.
It took me hours to test a little change of camel-osgi in ServiceMix.
(Downloading kit, hacking the meta-info, running the servicemix start up
script, checking the log file ...)

I will see if I can add more tests into camel-itest-osgi :)

Willem


Claus Ibsen wrote:

> Hi
>
> This is really great new.
> The OSGi world is not as trivial as at first sight.
>
>
> On Thu, Apr 16, 2009 at 5:47 PM, James Strachan
> <james.strachan@...> wrote:
>> Just as a simple integration test to check our OSGi metadata is OK,
>> I've created a little integration test case here...
>> http://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi/
>> http://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/OSGiIntegrationTest.java
>>
>> for this issue
>> https://issues.apache.org/activemq/browse/CAMEL-1536
>>
>> using Pax Exam
>> http://wiki.ops4j.org/display/paxexam/Pax+Exam
>>
>> I made a minimal test (so not using Spring and so forth). We should
>> add another test using Spring I guess too.
>>
>> I found quite a lot of stuff was mandatory rather than optional (e.g.
>> JMX stuff and JAXB stuff) so I tweaked the metadata for camel-core a
>> little to make more imports optional. I hope that doesn't break
>> anything :). We could always make those imports mandatory in
>> camel-spring maybe? (Though even with camel-spring you might wanna use
>> JavaConfig)
>>
>> So far Pax Exam seems pretty good - the only missing feature is being
>> able to use the project's pom to figure out what versions of things to
>> use (like ServiceMix Kernel integration tests do).
>> --
>> James
>> -------
>> http://macstrac.blogspot.com/
>>
>> Open Source Integration
>> http://fusesource.com/
>>
>
>
>

 « Return to Thread: [Heads Up] added an OSGi system test for running Camel in Felix & Equinox