[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 08:04:38 EDT 2006
"adrian at jboss.org" wrote : I'm not implementing a TM, I'm implementing an heuristic resource
| with a local branch log.
|
| JMS is a remote resource.
|
OK, with you now.
anonymous wrote :
| 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. :-)
|
I'm sure if you ask an IBM sales-bod they've got a solution for this too ;-) It's just "sometime in 2010"!
anonymous wrote :
| 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.
Agreed. Though as ever I'd warn against over-use of heuristics to "solve" the problem. It's often a too-easy cop-out. Not saying it is in this case, but just a general warning.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972285#3972285
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972285
More information about the jboss-dev-forums
mailing list