I have committed some changes regarding server side failover.
In summary, these changes consist of:
I - Method failover(int) on DefaultClusteredPostOffice..
Still not integrated on JGroups:viewsChange, but that it's a trivial
change (I hope). I will integrate it after I have done some more testing
II - Signature changes on PostOffice/ClusteredPostOffice to accept bindinging from other
nodeIds than the current NodeId.
III - Changes on DefaultRouter to accept more than one local queue (created when
DefaultClusteredPostOffice.failover is caleld).
Also... It looks like we will have to send messages received from client to server. This
is because we will need to remove references on the database. I'm still investigating
as I'm seeing messages still on the database after being received.
Also, you will realize a couple of TODOs on the code that are there just for tests. For
example I'm ignoring some exceptions if a ACK is not found. This is just a temporary
solution until I figure out what to do with pre-received messageIds. (send, ignore them,
or find what's going on sometimes).
I will solve the messageId problems by tomorrow for sure, so I'm fine with this,
it's just a matter of getting the job done.
Cheers,
Clebert Suconic
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981949#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...