[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - JBMESSAGING-674 - Propagation of server List to client

clebert.suconic@jboss.com do-not-reply at jboss.com
Mon Jan 8 18:36:29 EST 2007


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?


Clebert

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999257#3999257

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999257



More information about the jboss-dev-forums mailing list