Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
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