Hi Camel/CXF dev's
I'm working in an environment where classloaders are heavily used to isolate components of the system. No, it's not quite OSGI, but has some similarities. One of the issues I'm trying to address is having multiple, separated CXF bus'es and Camel contexts with routes referring to the CxfEndpoint share the same HTTP port. Digging around I found JettyHTTPServerEngineFactory which seems to be the way to attach JettyHTTPServerEngine to particular ports. The issue now is that Ideally, I'd like to create one of the factories, and have it be injected into multiple Spring AppContextes (used by each of the isolated Camel + CXF). The idea is that if s HTTP Server engine is already created for a given port, the common factory will dish it out, and the individual contexts will just register the URL's they're handling with that engine. Any thoughts about have doable that might be? Issues to be aware of? TIA, A.