[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-519 - Failover(HA) design discussion
clebert.suconic@jboss.com
do-not-reply at jboss.com
Wed Oct 11 19:44:39 EDT 2006
Could fix the MessageProducer under transaction environment.
Now I have a testcase sending messages in a transacted session, right before calling commit I called failOver, and all the messages were received on the new node.
Basically I created a method called transferHAState under DelegateSupport what will set the ID (copying it from the new server's object).
That is allowing handleFailoever on ConnectionAspect to reconnect objects to the new server and change IDs to the expected IDs on the new server.
It's working nicely now.
Clebert
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977731#3977731
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977731
More information about the jboss-dev-forums
mailing list