[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Server side HA and failover

timfox do-not-reply at jboss.com
Fri Nov 17 11:48:19 EST 2006


"clebert.suconic at jboss.com" wrote : Tim wrote : ...why you think you need a ClusteredConnectionFactory...
  | 
  | - How would you as an user, decide if you want to use an HAConnection or not?
  | 

What do you mean by HAConnection, I am not aware of this term in JBoss Messaging

anonymous wrote : 
  | 
  | Looking at properties from ClientConnectionFactoryDelegate:
  | 
  | 
  |   |    //... from superClass DelegateSupport:
  |   |    protected int id;
  |   | 
  |   |    //... from the class itself
  |   | 
  |   |    protected String serverLocatorURI;
  |   |    protected Version serverVersion;
  |   |    protected int serverID;
  |   |    protected boolean clientPing;
  |   | 
  | 
  | I would need to replicate at least the LocatorURI and the serverID and DelegateSupport::id, assuming serverVersion and clientPing won't never change.
  | 
  | anonymous wrote : 
  |   | 
  |   | All you need to replicate is locator uri and server id, the rest stays the same as you mention
  |   | 
  |   | anonymous wrote : 
  |   |   | Well... as I had to store almost everything,
  |   |   | 
  |   | 
  |   | Well, not almost everything, just a string and an int.
  |   | 
  |   | You should create a class as specified in the wiki page I created some time ago.
  |   | 
  |   | Replicate the whole connection factory is not a good solution IMHO
  |   | 
  |   | 

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

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



More information about the jboss-dev-forums mailing list