[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Session recovery on rollback
timfox
do-not-reply at jboss.com
Fri Jul 14 11:05:07 EDT 2006
"adrian at jboss.org" wrote :
| The implementation in SpySession is overly complicated because there
| is no "session thread" which means it has to stop delivery on the
| whole connection to guarantee no new deliveries during the recovery.
|
Make sense. So *somehow* it's necessary to prevent any new messages arriving while recover is being executed.
In the same way, It's my understanding that we would need to also prevent any new messages arriving while rollback is being executed. (Since the spec says rollback cause session recovery)
Looking at the SpySession code I don't see the connection being stopped while rollback is happening. So it looks like messages could creep in which would be non spec complient.
(BTW I'm not criticising the spy code, I'm just trying to make sure we're doing it correctly in messaging :) )
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958105#3958105
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958105
More information about the jboss-dev-forums
mailing list