1 Reply Latest reply on Jan 8, 2007 7:58 PM by Clebert Suconic

    JBMESSAGING-674 - Propagation of server List to client

    Clebert Suconic Master

      This is a discussion of http://jira.jboss.com/jira/browse/JBMESSAGING-674

      Is it okay if I add these fields to ServerConnectionFactoryEndpoint? :

      protected int viewId;
       private ClientConnectionFactoryDelegate[] delegates;
       // Map <Integer(nodeID)->Integer(failoverNodeID)>
       private Map failoverMap;

      I want to update viewId and these other fields on ServerConnectionFactoryEndpoint every time the Replicator fires a change, and every time we need Connections I will be comparing clientSide viewId with server's side on ClusteredConnectionFactory.

      Of course these fields will be 0 or Null in case of NonClusteredConnections.

      Any objections?