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 164c19ba86..001e11c70b 100755 --- a/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java +++ b/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java @@ -153,6 +153,8 @@ public class TransactionContext implements XAResource { throw e; } catch (Throwable e) { throw JMSExceptionSupport.create(e); + } finally { + synchornizations = null; } } @@ -170,6 +172,8 @@ public class TransactionContext implements XAResource { throw e; } catch (Throwable e) { throw JMSExceptionSupport.create(e); + } finally { + synchornizations = null; } }