[jboss-dev-forums] [JBoss Transactions Development] - Re: Best way for ResourceManager to handle tx timeout
mark.little@jboss.com
do-not-reply at jboss.com
Wed Oct 7 10:17:16 EDT 2009
Jeff, in addition to what Jonathan said, you shouldn't rely on the TM for timeouts, particularly if your RM and TM can fail independently. If the TM fails before prepare, say, then it won't know anything about the RM (no log) and so won't ever try to timeout. In that case your RM needs to do it.
Plus let's not forget: if your RM times out after agreeing to prepare then you need to return a heuristic outcome (and remember it durably until forget is called).
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259169#4259169
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259169
More information about the jboss-dev-forums
mailing list