[jboss-cvs] JBoss Messaging SVN: r5069 - branches/Branch_1_4/src/main/org/jboss/messaging/core/impl/tx.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Oct 3 17:35:42 EDT 2008


Author: clebert.suconic at jboss.com
Date: 2008-10-03 17:35:42 -0400 (Fri, 03 Oct 2008)
New Revision: 5069

Modified:
   branches/Branch_1_4/src/main/org/jboss/messaging/core/impl/tx/TransactionRepository.java
Log:
https://jira.jboss.org/jira/browse/JBMESSAGING-1282 - LoadTransaction should also add the callback or the commit would never delete any records.
(This was done to fix tests)

Modified: branches/Branch_1_4/src/main/org/jboss/messaging/core/impl/tx/TransactionRepository.java
===================================================================
--- branches/Branch_1_4/src/main/org/jboss/messaging/core/impl/tx/TransactionRepository.java	2008-10-03 19:07:12 UTC (rev 5068)
+++ branches/Branch_1_4/src/main/org/jboss/messaging/core/impl/tx/TransactionRepository.java	2008-10-03 21:35:42 UTC (rev 5069)
@@ -191,6 +191,8 @@
             if (!map.containsKey(txInfo.getXid()))
             {
                Transaction tx = createTransaction(txInfo);
+               
+               persistenceManager.addTransaction(tx);
 
                tx.setState(Transaction.STATE_PREPARED);
 




More information about the jboss-cvs-commits mailing list