Guys, I have been working on to setup an environment to get the metrics like load, response time, execution time from a web service deployed in an ESB. (I am using Fuse ESB as of now)
I have understood the procedure to use JMX along with use of the bundle jolokia and hawtio. It was a great help to understand what all data I can get form the Mbeans of ServiceMix. (http://servicemix.396122.n5.nabble.com/programmatically-get-server-load-information-from-Apache-ServiceMix-using-JMX-td5716769.html#a5716784) Now, the next step was that I created an ws-cxf webservice on the bases of the example given in Fuse ESB by the name 'soap'. This web-service I deployed by putting the jar file (that was created after maven build in its target folder) in the deployment folder and the service was successfully tested through SoapUI. (using a WSDL file) But when I tried to see what all metrics are available from Mbeans, I saw that nothing much is present under the hood of org.apache.cxf (Saw it using Hawtio) It just has attributes like Address, State under Bus.Service.Endpoint of my deployed service Thus, can you please help me to understand the following: 1. ) Is there some other Mbean that I am missing that can give me the metrics of ws-cxf-service deployed in ServiceMix ? OR Is it that only through camel based service (like given by Gert in smx-ws-examples ) we can get those metrics value. 2.) Also, if I saw that in the example of ws-camel-service in smx-ws-examples the context.xml says Does it means to use a camel based web-service I need to always create a WSDL and tehn go form top-to down and not from a Java class to wsdl ? I know that my questions may sound trivial, but still they may be of some help to another amateur who might have to struggle with the same doubts in future Regards, Kunal -- View this message in context: http://servicemix.396122.n5.nabble.com/ws-camel-service-vs-WS-cxf-service-Which-is-better-to-get-the-metrics-tp5716827.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
