This content has been marked as final.
Show 3 replies
-
1. Re: How to listen for fail over events
gaohoward Sep 3, 2012 7:50 AM (in response to fharms)1 of 1 people found this helpfulIt doesn't seem to have one like this. You can create a Jire task for that if you like.
Thanks
-
2. Re: How to listen for fail over events
fharms Sep 3, 2012 9:37 AM (in response to gaohoward)if we want to help with this, where in the code will be the best place to start?
thanks!
-
3. Re: How to listen for fail over events
gaohoward Sep 3, 2012 10:47 AM (in response to fharms)If you take a look at HornetQ Core, there is a addFailureListener(SessionFailureListener) method for each ClientSession (which in fact calls ClientSessionFactoryImpl.addFailureListener()).
The SessionFailureListener is called when connection failed and also during failover time. Currently this hasn't been exposed for HornetQ JMS API.
Howard