mirror of https://github.com/apache/activemq.git
When jencks shuts down an endpoint, it rolls back the last action done on it.. Was causing weird errors to show
up on the broker cause the message had already been commited. We now handle an RA commit followed by a rollback for this case (basicaly we ignore the rollback). git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658724 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5a368cacd6
commit
b135f8abad
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue