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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...