|
From: <Kev...@jb...> - 2006-07-03 12:36:12
|
anonymous wrote : I presume I'd still be wiring the replication code myself in XAResource.prepare(), bringing us back to the same problem of an exception that may occur in having to replicate a commit call in XAResource.commit() The resource is still responsible for persisting the changes related to the transaction, however that is achieved. So yes, you will still have to manage the replication across the cluster. How are you communicating with the other endpoints? If it is unicast then I would suggest creating a resource per endpoint. This solution is different for two reasons though, | The commit occurs within the context of the transaction and can therefore notify the transaction manager of failure. | The commit will be guaranteed to happen in a recovery situation | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955033#3955033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955033 |