camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ext2" <>
Subject Re: Hi,facility to debug the camel test case in eclipse with spring osgi framework
Date Sat, 09 Oct 2010 14:24:57 GMT
the patch only use spring-osgi-test to do osgi environment testing, and
doesn't use PAX-EXAM at all..

The only reason to do so is just because it's exhausted to debug in Eclipse
IDE with PAX-EXAM. Because we must change the test case's code to add debug
launch options for debugging.. 
>Re: Hi,facility to debug the camel test case in eclipse with spring osgi

Thanks for your contribution.
I just have quick look at the spring-osgi module that you want to 
contribute. It looks like you are using to load 
the bundles for Pax-Exam.

If you take a look at camel-itest-osgi module[1], you will find we are 
using the features to load the bundles which are needed by test. It does 
the same thing that you want to do :)


On 10/9/10 7:57 PM, ext2 wrote:
> Sorry, the mail list will disable attachment, check the patch :
> =======================================================
> Hi:
> 	To debug the camel test case in osgi framework with eclipse ide,
> using PAX-EXAM is difficult than spring-osgi-test.But the spring-osgi
> loading some exhausted and expired bundles by default. Some bundles are
> expired and hardly to find in the maven repository;
> 	The attachment is a patch to refine the default loaded bundles by
> spring-osgi-test, and also it support a CamelTestSupport-like interface to
> write test case, so the already written test cases can easily changed to
> in spring osgi framework;
> 	Hope it's useful to you

Open Source Integration:
Blog: (English)

View raw message