cxfjbossfuseapache-servicemixfuseesbdosgi

ServiceMix / Fuse ESB + CXF dOSGi


How can I enable dOSGi in ServiceMix / Fuse ESB? I am thinking about CXF dOSGi here.

I tried to follow this answer: Servicemix 4, DOSGi, and Zookeeper, but when I hot-deploy proper versions of jars (from multi-bundle distribution) and sample Greeter app, I got error stating no SOAP binding is found.

I know I can choose framework in ServiceMix: Felix or Equinox so theoretically I could apply same instructions as to Felix configuration, but this wont work for me. ServiceMix is so much more complex than empty Felix container.

If CXF dOSGi doesn't work here, which other dOSGi distribution is?


Solution

  • I would strongly recommend not using CXF - if you haven't encountered any peculiarities yet (i.e. bugs), you will soon enough. (IMO using webservices for Java-to-Java communication == fail)

    Eclipse Communication Framework (ECF) should work with any OSGi framework. Another option is to look at FuseSource Fabric, Guillaume Nodet's blog has some info on dOSGi in Fabric.