[jboss-cvs] JBoss Messaging SVN: r3036 - trunk/src/main/org/jboss/messaging/core/impl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Aug 23 07:16:07 EDT 2007


Author: timfox
Date: 2007-08-23 07:16:07 -0400 (Thu, 23 Aug 2007)
New Revision: 3036

Modified:
   trunk/src/main/org/jboss/messaging/core/impl/JDBCPersistenceManager.java
Log:
Fixed bug in retrying


Modified: trunk/src/main/org/jboss/messaging/core/impl/JDBCPersistenceManager.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/impl/JDBCPersistenceManager.java	2007-08-23 10:38:22 UTC (rev 3035)
+++ trunk/src/main/org/jboss/messaging/core/impl/JDBCPersistenceManager.java	2007-08-23 11:16:07 UTC (rev 3036)
@@ -601,9 +601,9 @@
 	         						
 	         						//Throw the exception so the tx is retried - the next time it won't try and insert the message
 	         						violationOk = true;
-	         						
-	         						throw e;
 	         					}
+         						
+         						throw e;
 	         				}
 	
 	         				if (trace) { log.trace("Inserted " + rows + " rows"); }	               




More information about the jboss-cvs-commits mailing list