8 Replies Latest reply on Oct 24, 2012 4:27 AM by Yong Hao Gao

    JGroups integration on the Resource Adapter

    Clebert Suconic Master

      Howard, currently you are making the AS7's integration code to inform HornetQ's resource adapter about every JGroupsBroadcastGroupConfiguration, even if that's not being used.

       

      It's not very efficient, and it's a bit backward to how we usually integrate on the AS7.

       

       

       

      Can you change this by:

       

      - Create a JGroupsChannelLocator abstract class/interface within our source code, and have that implemented on the AS7 integration?

       

      That way you would only set the JGroupsChannelLocator once and the RA would do this:

       

      if (channelLocator != null)

      {

           locate the JGropus by calling jgroupsChannelLocator.locateGrouping("");
      }