Re: JMX attribute - Number of failures handled

2012-11-30 Thread gilboy
Thanks

If my route has an error handler with a retry attempt policy of 5 and a
recoverable error is thrown in the route and on the 2nd attempt it is
successful should the number of failures handled be incremented in this
instance?

Furthermore, if in the same route an error occurs and after the retry
attempts of 5 has been exhausted while still throwing the error - should the
number of failures be incremented in this instance?

Joe



--
View this message in context: 
http://camel.465427.n5.nabble.com/JMX-attribute-Number-of-failures-handled-tp5723159p5723452.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: JMX attribute - Number of failures handled

2012-11-28 Thread Claus Ibsen
On Mon, Nov 26, 2012 at 11:16 PM, gilboy josephoto...@gmail.com wrote:
 Thanks

 Assume an exception happens in my route and i have an error handler which
 places the message on a queue. In this instance would the *failures handled*
 increase or does it only increment via onException ()..handled(true)..
 syntax?


An error handler ought to mark it as handled as well.

 Joe



 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/JMX-attribute-Number-of-failures-handled-tp5723159p5723259.html
 Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen


Re: JMX attribute - Number of failures handled

2012-11-26 Thread gilboy
Thanks

Assume an exception happens in my route and i have an error handler which
places the message on a queue. In this instance would the *failures handled*
increase or does it only increment via onException ()..handled(true)..
syntax?

Joe



--
View this message in context: 
http://camel.465427.n5.nabble.com/JMX-attribute-Number-of-failures-handled-tp5723159p5723259.html
Sent from the Camel - Users mailing list archive at Nabble.com.