I don't understand why you need a new method on the post office (the bind with the
node id), can you shed some light....?
On failover, it's the post office that will detect the failure using JGroups, so it
will know what has failed over.
It will also know which queues it needs to take over responsibility for, since it already
has this list of queues internally.
Therefore all it needs to do, is for each of the remote queue stubs correspsonding to the
queues for which it will take over responsiblity it needs to replace them with a local
clustered queue and call load() on it.
When reconnecting consumers to the failed over queue, I agree you will need to add a ne
getBindingForQueueName() method that takes a node id.
However this only needs to be on the ClusteredPostOffice interface, not the post office
interface.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980402#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...