-
1. Re: Redelivery Strategy Question
davsclaus Jan 18, 2013 2:23 AM (in response to mhuisking_michael.c.huisking)No the Camel redelivery error handler is in-memory only.
-
2. Re: Redelivery Strategy Question
mhuisking_michael.c.huisking Jan 18, 2013 10:06 AM (in response to davsclaus)Thanks Claus, a couple of last questions on this then. Is there a way to get info on the "in flight" messages? (if someone decides to shut down while there are messages pending) I haven't tried the new JON monitoring, but is that one of the pieces of data exposed in the monitoring interface?
Thanks in advance,
Mick
-
3. Re: Redelivery Strategy Question
davsclaus Jan 18, 2013 10:38 AM (in response to mhuisking_michael.c.huisking)There is an InflightRegistry API in the org.apache.camel.spi package. And you can get access to that from CamelContext. Then you can use that API to know how many current in-flight messages there is in total, or per route (started from that route).
-
4. Re: Redelivery Strategy Question
mhuisking_michael.c.huisking Jan 18, 2013 5:41 PM (in response to davsclaus)Thanks!
-
5. Re: Redelivery Strategy Question
davsclaus Jan 19, 2013 3:14 AM (in response to davsclaus)The Camel JMX MBeans will expose in flight counter for
- camel context mbean
- route mbean(s)
eg in-total and per individual route, eg as these mbean also uses that in-flight registry to get these numbers.