Author: clebert.suconic(a)jboss.com
Date: 2009-11-23 16:16:26 -0500 (Mon, 23 Nov 2009)
New Revision: 8385
Modified:
branches/ClebertCallback/src/main/org/hornetq/core/management/impl/HornetQServerControlImpl.java
Log:
Fixing onePhase XA Commit
Modified:
branches/ClebertCallback/src/main/org/hornetq/core/management/impl/HornetQServerControlImpl.java
===================================================================
---
branches/ClebertCallback/src/main/org/hornetq/core/management/impl/HornetQServerControlImpl.java 2009-11-23
21:07:39 UTC (rev 8384)
+++
branches/ClebertCallback/src/main/org/hornetq/core/management/impl/HornetQServerControlImpl.java 2009-11-23
21:16:26 UTC (rev 8385)
@@ -437,7 +437,7 @@
if (XidImpl.toBase64String(xid).equals(transactionAsBase64))
{
Transaction transaction = resourceManager.removeTransaction(xid);
- transaction.commit();
+ transaction.commit(false);
server.getStorageManager().waitOnOperations(-1);
long recordID = server.getStorageManager().storeHeuristicCompletion(xid,
true);
resourceManager.putHeuristicCompletion(recordID, xid, true);
Show replies by date