I use cxf-rt-features-metrics feature on provider side of a SOAP service.
When RuntimeException is thrown in provider's business code and soap:fault
is returned to consumer, all the fault counters show 0.


Debugging shows that when a fault check is performed 

https://github.com/apache/cxf/blob/master/rt/features/metrics/src/main/java/org/apache/cxf/metrics/codahale/CodahaleMetricsContext.java#L91

exchange object doens't contain FaultMode object, but corresponding message
object does, so that ex.getInMessage().get(FaultMode.class) returns non null
object. 

It would be good to have this working.



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Metrics-feature-doesn-t-count-faults-on-provider-side-tp5771827.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to