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

adrian@jboss.org do-not-reply at jboss.com
Mon Sep 18 07:51:49 EDT 2006


I'm not implementing a TM, I'm implementing an heuristic resource
with a local branch log.

JMS is a remote resource.

e.g.
If a JBossMessaging server gets enlisted by a transaction manager
on a machine that explodes and the log is lost then you need
a mechanism to put the messages back in the queue.

The exploded tm is never going to recover. :-)

There are other reasons why the TM might not complete
the transaction (e.g. network outage) and you need to get
the messages processed even if it means an heuristic.

Its the same issue as when you need to clear db locks
when a server crashes holding the locks and it can't be recovered.

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

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



More information about the jboss-dev-forums mailing list