Hi Daniel
I did some tests to obtain the statistics that are registered in Synapse using JMX. The following are the Mbeans registered:
My apologies, as the more useful JMX metrics are not yet available with the Synapse distribution, but with the WSO2 ESB, which is basically Synapse plus an admin console/JMX and better Registry integration. Also, its under the same Apache v2.0 license, and thus you could have a look.
The only attributes updated are MessagesReceived and BytesReceived, on my test i generate a proxy service with a custom mediator (the mediator is called perfectly). This beahavior is correct? Exists any way to obtain with this aproach the metric response time?
Yes, we are constantly improving the JMX support over time, and the transport level JMX information will not capture response times. This additional information is part of the WSO2 ESB right now.

However, your approach to compute the response time with a custom mediator is perfectly fine, and you could use that as a base and build your management/monitoring using that approach

asankha

Reply via email to