[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Failover on Shutdown
clebert.suconic@jboss.com
do-not-reply at jboss.com
Tue Jun 26 18:45:29 EDT 2007
Can't we create a shutdown method where the sysadmin would be able to give an option for the shutdown type he wants to perform?
Say.. if the sysadmin decides to take the system down when the load is low.. he could decide to merge queues as he is planning the system out for a long period.
The sysadmin already has that option anyway... he would just have to kill the server.. this would be just a cleaner way to do it.
I thought about these options on Shutdown (Consider these options as a brain storm for now):
I - Keep Trying:
(Tell clients to keep trying reconnect until the server is back.. .the user could take that decision for quick restarts). We would need to send a message to every active connection before doing this, closing the valve on clients... and keep trying to connect until the server is back.
II - Shutdown as failover
(Merge queues as it would happen on a regular crash)
III - Just Shutdown
(And throw exceptions to clients.. so client would have to catch exception and retry "a la MQ")
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057910#4057910
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057910
More information about the jboss-dev-forums
mailing list