Just pushed a fix for this.  Should be all set.

Dan


> On Aug 24, 2016, at 6:37 AM, vbogatyrov <[email protected]> wrote:
> 
> 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.

-- 
Daniel Kulp
[email protected] <mailto:[email protected]> - http://dankulp.com/blog 
<http://dankulp.com/blog>
Talend Community Coder - http://coders.talend.com <http://coders.talend.com/>

Reply via email to