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

Spring control of jetty server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.1.8, 2.2.5
    • Bus
    • None

    Description

      The current design of the jetty integration is that the Jetty server is a hidden, static, shared, resource of the buses. This is fine, until someone wants to create (and perhaps clean up) a completely self-contained environment. It is a tradeoff: the current design allows an app to make multiple busses that deploy services on the same HTTP port(s), but it offers no direct way to control the lifecycle of the server.

      I would propose, as an idea, a property on the http engine bean which controls this. If set to the non-default value, the engine will be considered a resident of the bus. If it thus ends up on a fight over a port with some other server associated with some other bus, so be it. When the bus is shutdown, such a server would go away. Period.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bmargulies Benson Margulies
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: