mirror of https://github.com/apache/activemq.git
Have the TransactionContext per connection
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581242 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6aa4bcad5b
commit
595d95b3da
|
@ -65,7 +65,7 @@ public class TransactionContext implements XAResource {
|
||||||
private static final Log LOG = LogFactory.getLog(TransactionContext.class);
|
private static final Log LOG = LogFactory.getLog(TransactionContext.class);
|
||||||
|
|
||||||
// XATransactionId -> ArrayList of TransactionContext objects
|
// XATransactionId -> ArrayList of TransactionContext objects
|
||||||
private static final ConcurrentHashMap<TransactionId, List<TransactionContext>> ENDED_XA_TRANSACTION_CONTEXTS = new ConcurrentHashMap<TransactionId, List<TransactionContext>>();
|
private final ConcurrentHashMap<TransactionId, List<TransactionContext>> ENDED_XA_TRANSACTION_CONTEXTS = new ConcurrentHashMap<TransactionId, List<TransactionContext>>();
|
||||||
|
|
||||||
private final ActiveMQConnection connection;
|
private final ActiveMQConnection connection;
|
||||||
private final LongSequenceGenerator localTransactionIdGenerator;
|
private final LongSequenceGenerator localTransactionIdGenerator;
|
||||||
|
|
Loading…
Reference in New Issue