This is probably a long shot and I suspect that it CANNOT be done, but, just to cover all avenues, I'll post the question.
Does anyone know if there's any listener or notification mechanism that this class provides that notifies/announces WHEN a node has become the LIVE server? I see in its implementation that the the HornetQServerLogger is called to LOG when a server is live or backup. Is there any way an external app can be notified of this as well?
We do have management notifications for a lot of things, but there is no notification for when a server becomes live. I'm not sure it would make sense to add such a notification either because there would be a very small window between the time the server allowed a connection to the notification address and when the notification would actually be sent.