Based upon what I know of OSGI and CXF, I'd actually suggest (if possible) to do 1, and see if that works.
In java, instances from a Class X belonging to ClassLoader A is not of the type (instanceof returns false) Class X belonging to ClassLoader B, even though the class bytes are exactly the same. My understanding is that OSGI creates a separate classloader per service, therefore, you should be able to use separate busses... Jeff On Tue, Feb 14, 2012 at 9:39 AM, marc.blomquist <[email protected]> wrote: > I have thought of others solutions: > > 1. I was thinking about turning their thirdparty jar into an OSGI service, > but I don't think that will solve the problem because it's still the same > JVM, so the CXF bus is still shared even if it's a service, right?
