camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vivekrao001 <vivekrao...@gmail.com>
Subject Camel Metrics during Exception
Date Wed, 21 Oct 2015 18:51:06 GMT
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.

Mime
View raw message