mirror of https://github.com/apache/activemq.git
applied patch for AMQ-731 from Christopher G. Stach II - many thanks!
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412950 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
21e08377cb
commit
37e3387bed
|
@ -560,8 +560,10 @@ public class TransactionContext implements XAResource {
|
||||||
if( l==null ) {
|
if( l==null ) {
|
||||||
l = new ArrayList(3);
|
l = new ArrayList(3);
|
||||||
endedXATransactionContexts.put(transactionId, l);
|
endedXATransactionContexts.put(transactionId, l);
|
||||||
}
|
|
||||||
l.add(this);
|
l.add(this);
|
||||||
|
} else if (!l.contains(this)) {
|
||||||
|
l.add(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// dis-associate
|
// dis-associate
|
||||||
|
|
Loading…
Reference in New Issue