6 Replies Latest reply on Jun 17, 2015 4:08 PM by f_marchioni

    jgroups-channel for messaging communication

    developer251

      Hi all!

      We are planning to use a static list of servers for messaging, inherited from JGroups. I have seen that you have to provide the jgroups stack and jgroups-channel attribute in the broadcast and discovery groups. What we want to achieve is to have two master and two backup nodes in the cluster. Is it correct the following configuration:

      Server1

      <jgroups-channel>live</jgroups-channel>

      Server2

      <jgroups-channel>backup</jgroups-channel>

      Server3

      <jgroups-channel>live</jgroups-channel>

      Server4

      <jgroups-channel>backup</jgroups-channel>

      Is it a good idea, or (since the number of servers is static), if Server1 fails for example, there will be a single point of failure for the cluster ?

      Should we rather use for all servers:

      <jgroups-channel>hornetqcluster</jgroups-channel>

      Thanks