[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-1006 - Throwing exception when failover fail

timfox do-not-reply at jboss.com
Sat Jun 30 15:26:16 EDT 2007


"clebert.suconic at jboss.com" wrote : 
  | The exception was breaking failover... and messages were getting lost. (Until a restart on server)

Probably because you weren't closing the session.

If the recovery failed halfway then the session will still contain deliveries corresponding to the "missing" messages.

The client then gets an exception and closes the session, the deliveries will then get cancelled back to the queue.

If the client crashes the server side cleanup will automatically close the session. In any cas there is no need to make the recovery atomic.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059403#4059403

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059403



More information about the jboss-dev-forums mailing list