[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 07:43:29 EDT 2006


"adrian at jboss.org" wrote : "timfox" wrote : 
  |   | If I don't remove the instance then I get a memory leak.
  |   | 
  | 
  | You only have a memory leak if the number grows large.
  | Which you can give a warning about anyway.
  | if (map.size() > 100)
  |    log.warn("Your TM is probably broken!");
  | 
  | The usual solution is to move the transaction to an "in doubt" state
  | after a configurable period of time. e.g. 1 hour
  | or if you have to recover after a failure.
  | 


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

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



More information about the jboss-dev-forums mailing list