From edb21db5ec0264c203c01d5380fcd0d2ebc2b32d Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Wed, 21 May 2008 19:15:46 +0000 Subject: [PATCH] Opps fixing last commit git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658817 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/activemq/TransactionContext.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java b/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java index 001e11c70b..158be0e8df 100755 --- a/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java +++ b/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java @@ -136,6 +136,8 @@ public class TransactionContext implements XAResource { throw e; } catch (Throwable e) { throw JMSExceptionSupport.create(e); + } finally { + synchornizations = null; } } @@ -172,8 +174,6 @@ public class TransactionContext implements XAResource { throw e; } catch (Throwable e) { throw JMSExceptionSupport.create(e); - } finally { - synchornizations = null; } }