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

Support bus configuration using servlet init-params for non-Spring

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Core
    • None
    • Unknown

    Description

      Currently, a CXFNonSpringServlet always creates a new bus. It would be useful to be able to specify init-params to instruct it to re-use existing bus, and provide configuration options.

      Proposal:
      1. Update https://github.com/apache/cxf/blob/master/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/CXFNonSpringServlet.java#L166 to parse out params that begin with bus.* and pass them into the create bus.

      2. Provide a flag to re-use the existing or default bus

      Attachments

        Activity

          People

            Unassigned Unassigned
            mattrpav Matt Pavlovich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: