cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andi Abes" <aa...@progress.com>
Subject Sharing CXF/ JettyHTTPServerEngineFactory accross classloaders/AppContext
Date Mon, 08 Jun 2009 19:09:34 GMT
 

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.

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message