CXF provides the jmx bean to manage the deployed endpoints and monitor its peformance. From jbossws-cxf-3.3, we provides the ablity to allow you register cxf jmx beans into jboss container . You can simply add this web context parameter in the web.xml to manage the cxf beans via jboss jmx console :
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"> <context-param> <param-name>enable.cxf.management</param-name> <param-value>true</param-value> </context-param> <servlet> <servlet-name>HelloWorldService</servlet-name> <servlet-class>org.jboss.test.ws.jaxws.cxf.management.HelloWorldImpl</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>HelloWorldService</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> </web-app>
Comments