You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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:
 

 
 

  • No labels