Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3384

Create one http transport that is always present and delegates to the actual http transport

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • None
    • None

    Description

      Problem:
      Currently we have three server side http transports: Servlet, Jetty and Osgi. They each register for the same transport URIs. So only one of them may be present at a time. So it is necessary for usersto import a special spring context like cxf-servlet.xml for each transport.

      Additionally it is difficult to for example test with jetty and run with servlet in production using the same code. It is also not possible to publish some services using a servlet and others using a sperate port using jetty.

      Solution:
      So to make things easier and more flexible we should register a delegating http transport that analyzes the endpoint url and delegates to the correct transport factory. So if the url contains a server name then jetty should be used. If not then the servlet transport should be used. Optionally an OSGi environment should also be detected and then the OSGi servlet transport should be used instead of the normal servlet transport

      Attachments

        Activity

          People

            cschneider Christian Schneider
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: