I am using jboss-eap-5.2.0.
I have deployed this in a clustered environment, I have achieved HA (high availability).
Now if and when a node goes down - my intention is to broadcast this failure event to all other nodes so that I can record these details in the database for future analysis.
Is there any standard way to broadcast this event?
I understand that - JBoss AS uses UDP multicast for most intra-cluster communications.
But how can I broadcast failure events/messages?
FYI: My architecture uses JBoss AS + ActiveMQ (intgrated). My intention is to publish these failure events to a Topic if possible.
Never thought about that. It should not matter whether a node failed from an application perspective.
One way might be to filter the jgroups messages whether a node is not longer in the cluster and use a JMS appender.
Another one is to use JON, I suppose there are methods to monitor that and do some kind of broadcast