JMX Management has been edited by Christian Schneider (Nov 10, 2007).

Change summary:

Added JConsole screenshots

(View changes)

Content:

CXF Endpoints can be managed with JMX. You simply have add the following configuration to your cxf.xml

<bean id="org.apache.cxf.management.InstrumentationManager"
  class="org.apache.cxf.management.jmx.InstrumentationManagerImpl">
  <property name="bus" ref="cxf" />
  <property name="enabled" value="true" />
  <property name="threaded" value="false" />
  <property name="daemon" value="false" />
  <property name="JMXServiceURL" value="service:jmx:rmi:///jndi/rmi://localhost:9914/jmxrmi" />
</bean>

To test the configuration start up your service and connect to it by using jconsole from the jdk.

 
Then you can browse to your endpoint:
 

 
 



Reply via email to