anonymous wrote :
| "brian .stansberry" wrote :
| | Stupid question: why does the client need to fail over to a particular server?
The failover server needs to do work to recover persistent messages from the store, but
once it's done that, aren't they available to a client connecting to any server?
|
| Each server maintains it's own set of queues each containing different sets of
messages.
| So when a node fails the failover node needs to take over responsibility for the
queues on the node that failed.
| This means creating those queues in memory and loading any persistent messages from
storage into those queues (if in memory replication is being used the messages will
already be there so no need to load from storage).
| This means clients need to reconnect the node which now hosts those queues so they can
continue as if nothing happened.
I'm still not sure I understand. I completely understand about what the failover
server needs to do; just not certain about why it matters which node the client connects
to.
Is it because the recovered messages were part of a session, and to properly maintain the
guaranteed order of delivery of messages from a particular JMS session, the client has to
connect to the correct server?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977564#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...