]
Jim Ma commented on JBWS-3808:
------------------------------
There should be an time to give the info when the metrics is last updated. This can help
user understand that these metrics values is for a certain time; it could be updated at
the next second. We can't add read/write lock to wait the metrics is updated
completely. This will slow down performance.
The response-count of the endpoint metrics sometimes not counted
----------------------------------------------------------------
Key: JBWS-3808
URL:
https://issues.jboss.org/browse/JBWS-3808
Project: JBoss Web Services
Issue Type: Bug
Components: jbossws-cxf
Affects Versions: jbossws-cxf-4.3
Reporter: Jim Ma
Assignee: Jim Ma
Fix For: jbossws-cxf-5.2.0.Final
We now calculate the request-count, response-count and other metric value in
RequestHandlerImpl , it is executed after cxf's httpDestination.invoke(cfg, context,
req, response) which the response already sent to receiver and invocation is done. The
response related metric won't be incremented and updated if the metric query happens
between httpDestination.invoke and metrics update.