[Jboss-cvs] JBossAS SVN: r57048 - branches/Branch_4_0/server/src/main/org/jboss/jms/asf

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Sep 21 07:39:43 EDT 2006


Author: weston.price at jboss.com
Date: 2006-09-21 07:39:41 -0400 (Thu, 21 Sep 2006)
New Revision: 57048

Modified:
   branches/Branch_4_0/server/src/main/org/jboss/jms/asf/StdServerSession.java
Log:
[JBAS-3631] Fixed incorrect missing branch. Logic should rollback versus a commit
if the XASession is null and CMT is being used. 

Modified: branches/Branch_4_0/server/src/main/org/jboss/jms/asf/StdServerSession.java
===================================================================
--- branches/Branch_4_0/server/src/main/org/jboss/jms/asf/StdServerSession.java	2006-09-21 05:08:32 UTC (rev 57047)
+++ branches/Branch_4_0/server/src/main/org/jboss/jms/asf/StdServerSession.java	2006-09-21 11:39:41 UTC (rev 57048)
@@ -366,7 +366,7 @@
                   
                   if (xaSession == null && serverSessionPool.isTransacted())
                   {
-                     session.commit();
+                     session.rollback();
                   }
                   
                }




More information about the jboss-cvs-commits mailing list