[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Can the transaction manager retry commit or rollback?

mark.little@jboss.com do-not-reply at jboss.com
Mon Sep 18 06:54:47 EDT 2006


"timfox" wrote : My question is this: If commit or rollback throws an exception is it valid for the transaction manager to retry the commit or rollback (without first calling recover)?
  | 

Yes, it is valid in some cases. However, depending upon the error, it may not be worthwhile.

anonymous wrote : 
  | If I can assume the commit/rollback is never retried then I can safely remove the transaction state from the map in a finally block, whether or not the commit or rollback succeeded.
  | 
  | If not, then I cannot see a safe time when the transaction state can be removed from the map.
  | 

Is this durable data? Will it survive a failure (I assume so, but need to ask).

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

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



More information about the jboss-dev-forums mailing list