mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-1886 - preventing problems with spring transactions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@819998 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
32e11e182e
commit
2e6443ba2b
|
@ -167,8 +167,8 @@ public class TransactionContext {
|
|||
|
||||
throw IOExceptionSupport.create(e);
|
||||
} finally {
|
||||
close();
|
||||
inTx = false;
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -195,8 +195,8 @@ public class TransactionContext {
|
|||
JDBCPersistenceAdapter.log("Rollback failed: ", e);
|
||||
throw IOExceptionSupport.create(e);
|
||||
} finally {
|
||||
close();
|
||||
inTx = false;
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue