You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by rotgier <ro...@gmail.com> on 2009/04/01 00:37:38 UTC

Re: ServiceMix 4 in Equinox

Guillaume,

thanks for the response. Actually I am not interested in the ServiceMix
Kernel itself.
I am performing research for purpose of monitoring facility capable of
monitoring the OSGI and JBI world :). I am testing my ideas on ServiceMix
4.0. Right know I am focusing on transparent data asquiring mechanism and
AOP fits perfectly in. This is the reason for my interest in Equinox
Aspects.

The Swordfish in very interesting !! I played with it during last few days
and it is very promising. Their startup scripts gave me the idea how to
lunch the SMix in equinox without problems. Thanks to Equinox Aspects I am
able to dynamiclny define aspects that crosscut the NMR and JBI and It
really works :). Right now I will try to run the SMix 4.0 examples,
especially those exciting ones which link the JBI with the new NMR exposable
in OSGI. The problem is that the ServiceMix JBI components are probably
right now in the process of porting to OSGI, therefore not everything is
working :).

In regard to cooperation I would be more than pleased, however It would be
my second priority after researching the AOP thing. I am not the expert, ...
actually rather newbie in ServiceMix Kernel, therefore I am not sure If I am
capable. Fidling with Swordfish I noticed that the guys managed alredy to
launch te servicemix kernel - the functionality of 'deploy' and 'etc'
directories seem to be there, but I have not test them. Maybe during my
experiments I will take a look on those things and acquire better expertise.

Kind Regards,

Marek psiuk



gnodet wrote:
> 
> I don't any technical issues in running ServiceMix on top of Equinox.
> However, the runtime must be configured in a specific way I think.
> For example, to avoid the QName or jaxb conflicts, the system bundle
> should not export
> any of the packages that are provided by other bundles.
> If you don't care about the features provided by ServiceMix Kernel,
> you can take a look
> at the Eclipse Swordfish project, as they deploy the JBI container on
> top of Equinox.
> If you do care, I'd be happy to work with you on making ServiceMix
> Kernel (and everything
> in ServiceMix) work with Equinox.
> 
> 2009/3/26 rotgier <ro...@gmail.com>:
>>
>> Hello,
>>
>> I would like to perform Load Time Weaving AOP (by means of AspectJ) in
>> ServiceMix. I found out that Equinox is developing a very interesting AOP
>> implementation for OSGI, which provides dynamic Aspect installation
>> (weaving
>> into target bundles) and uninstallation (unweaving the classes). I could
>> not
>> find such AOP features in Felix therefore I figured out that if I deploy
>> the
>> SMix into Equinox than I would be able to leverage its AOP features
>> inside
>> SMix.
>> Therefore I prepared empty eclipse distribution and put all bundles I
>> found
>> in distribution of SMix. Unfortunately I turned out that It is not that
>> easy
>> :].
>>  - Some bundles were still missing (for example camel-jms)
>>  - I was unable to deploy the JBI components bundles, because of some
>> strange incompatibility in Require-Bundle tag
>> - When I tried to invoke the service exposed by CXF than same strange
>> error
>> with ClassLoading the QName class occured
>> - I did not know how to force Equinox to read the files from etc, which I
>> copied from the SMix distro (the messages on the console inform that
>> files
>> are read, but the logging was not configured - log file was not created)
>> - When I tried to run the container on JRE 1.6 than CXF complained about
>> some strange conflict with javax.xml.bind package (conflict of version
>> between Import-Package and "uses" in Export-Package). Therefore I
>> switched
>> to JRE 1.5
>>
>> Does someone has experience with running SMix inside Equinox? How should
>> I
>> accomplish this.
>> I saw some example (by gnodet) how to run few JBI bundles inside Equinox,
>> but I am interested in running all SMix bundles in Equinox.
>>
>>
>> Thanks in advance.
>>
>>
>> Kind Regards,
>>
>> Marek Psiuk
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ServiceMix-4-in-Equinox-tp22727365p22727365.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
> 
> 

-- 
View this message in context: http://www.nabble.com/ServiceMix-4-in-Equinox-tp22727365p22816266.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.