I'm in the process of upgrading a JBoss 5.1 application to JBoss 7.1.1. We currently monitor cluster health by looking into JGroups JChannels and comparing the view that's expected from the current cluster state and the actual JGroup's view. I'd also like to create my own JGroups channel and use it for some cluster coordination. What I can't seem to find is any JBoss API for current open channels and the ChannelFactory? Is there any way to access the underlying JGroups subsytem?
Is it possible to access the JGroups from the application? I would like to reuse the protocol stack and use it to create the JChannel.
Thanks a lot Paul for your post and talk!
Hope it'll help someone else.
https://issues.jboss.org/browse/JGRP-1613 will make is even simpler to reuse an existing channel, either from Infinispan or Wildfly. This will not only give you an independent channel (ForkChannel), on which you only see your *own* traffic, but you'll also be able to add protocols to an existing stack, e.g. COUNTER.