Hi,

I have a question regarding the metrics, for the following route :

from("direct:in")
    .to("metrics:timer:simple.timer?action=start")
    .to("*direct:calculate*")
    .to("metrics:timer:simple.timer?action=stop");

If the *direct:calculate* raises an exception, what would be the
consequences, should we try to stop the timer in exception block? And the
timer will not stop until a new request pass through?

Any suggestion is greatly appreciated.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Metrics-during-Exception-tp5772948.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to