cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] ffang closed pull request #375: [CXF-7628] Enable JMX threading parameters for cxf endpoints in blueprint.
Date Thu, 01 Jan 1970 00:00:00 GMT
ffang closed pull request #375: [CXF-7628] Enable JMX threading parameters for cxf endpoints
in blueprint.

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/blueprint/
index ea5ea420847..9c9e2cc5ab8 100644
--- a/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/blueprint/
+++ b/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/blueprint/
@@ -33,6 +33,8 @@
 import org.w3c.dom.Element;
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusFactory;
 import org.apache.cxf.common.jaxb.JAXBContextCache;
 import org.apache.cxf.common.jaxb.JAXBUtils;
 import org.apache.cxf.common.logging.LogUtils;
@@ -77,7 +79,8 @@ public void init() {
                 = getJaxbObject(element,
-            factory = new JettyHTTPServerEngineFactory();
+            Bus defaultBus = BusFactory.getDefaultBus();
+            factory = new JettyHTTPServerEngineFactory(defaultBus);
             Map<String, ThreadingParameters> threadingParametersMap
                 = new TreeMap<String, ThreadingParameters>();
@@ -114,7 +117,8 @@ public void init() {
             List<JettyHTTPServerEngine> engineList = new ArrayList<>();
             for (JettyHTTPServerEngineConfigType engine : config.getEngine()) {
-                JettyHTTPServerEngine eng = new JettyHTTPServerEngine();
+                JettyHTTPServerEngine eng = new JettyHTTPServerEngine(
+                        factory.getMBeanContainer(), engine.getHost(), engine.getPort());
                 if (engine.getConnector() != null && connectorMap != null) {
                     // we need to setup the Connector from the connectorMap
                     Connector connector = connectorMap.get(engine.getPort().toString());


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message