[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Server side HA and failover
clebert.suconic@jboss.com
do-not-reply at jboss.com
Thu Nov 16 18:11:22 EST 2006
I changed NodeAddressInfo a little bit. It now has ConnectionFactories for all the nodes on NodeAddressInfo. (Even I had to convert the factories to bytes before sending it to the cluster).
I had to do that because just the Locator is not enough to perform a connection creation.
I have also started creating a ClusteredConnectionFactory. So far I'm requiring a cluster to also have a regular connection Factory. ClusteredConnectionFactory will get already registered ConnectionFactories on ServerPeer and encapsulate them on a list that will work both as RoundRobbin Connectors and Failover in case of connection failure.
There are some issues I don't know how to solve yet... like what to do when a Server has multiple connectors. We will probably need two ClusteredConnectionFactory (one for each type of connector). (I will get the basic working first and worry about multiple datasources right after this).
Also.. We have at this point two PostOffices (queue/topic). To manage the Datasource we need only one. So, I will configure ClusteredDataSource to use Queue ClusteredPostOffice as we don't need to deal with both postOffices. (Let me know if there is any objection)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986705#3986705
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986705
More information about the jboss-dev-forums
mailing list