You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by ncasaux <ni...@soprasteria.com> on 2016/02/03 18:13:06 UTC
Enable JMX for jetty transport
Hello,
I'm using CXF with ServiceMix.
I have configured a blueprint following this page:
http://cxf.apache.org/docs/jetty-configuration.html
<http://cxf.apache.org/docs/jetty-configuration.html>
It looks like :
<httpj:engine-factory bus="cxf">
<httpj:engine port="8484">
<httpj:threadingParameters minThreads="20"
maxThreads="50" />
<httpj:connector>
<bean class="org.eclipse.jetty.server.nio.SelectChannelConnector">
<property name="port" value="8484" />
<property name="acceptors" value="2" />
</bean>
</httpj:connector>
</httpj:engine>
</httpj:engine-factory>
The threading parameters are working fine.
However, I would like to see all the JMX beans related to CXF (transport,
threading, etc...).
Currently,I can see in JConsole the following beans:
org.apache.cxf.Bus
org.apache.cxf.Bus.Service.Endpoint
org.apache.cxf.WorkQueueManager
but there's no bean related to Jetty.
What should I do to enable the JMX beans for Jetty ?
Thanks in advance.
--
View this message in context: http://cxf.547215.n5.nabble.com/Enable-JMX-for-jetty-transport-tp5765549.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Enable JMX for jetty transport
Posted by Daniel Kulp <dk...@apache.org>.
> On Jul 7, 2016, at 4:54 AM, ncasaux <ni...@soprasteria.com> wrote:
>
> Hello,
>
> Does anyone have any idea regarding this ? Thanks!
This should be automatic providing the appropriate jetty-jmx jar is found on the class path. We detect if it is and wire in the the mbeans.
Dan
Re: Enable JMX for jetty transport
Posted by ncasaux <ni...@soprasteria.com>.
Hello,
Does anyone have any idea regarding this ? Thanks!
--
View this message in context: http://cxf.547215.n5.nabble.com/Enable-JMX-for-jetty-transport-tp5765549p5770187.html
Sent from the cxf-user mailing list archive at Nabble.com.