1 of 1 people found this helpful
It doesn't seem to have one like this. You can create a Jire task for that if you like.
if we want to help with this, where in the code will be the best place to start?
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.