Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 91084 invoked from network); 2 Oct 2007 13:58:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2007 13:58:43 -0000 Received: (qmail 40828 invoked by uid 500); 2 Oct 2007 13:58:33 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 40773 invoked by uid 500); 2 Oct 2007 13:58:33 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 40764 invoked by uid 99); 2 Oct 2007 13:58:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 06:58:33 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 13:58:43 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0BDA71A9832; Tue, 2 Oct 2007 06:58:23 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r581242 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java Date: Tue, 02 Oct 2007 13:58:22 -0000 To: commits@activemq.apache.org From: rajdavies@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071002135823.0BDA71A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rajdavies Date: Tue Oct 2 06:58:22 2007 New Revision: 581242 URL: http://svn.apache.org/viewvc?rev=581242&view=rev Log: Have the TransactionContext per connection Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java?rev=581242&r1=581241&r2=581242&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java (original) +++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java Tue Oct 2 06:58:22 2007 @@ -65,7 +65,7 @@ private static final Log LOG = LogFactory.getLog(TransactionContext.class); // XATransactionId -> ArrayList of TransactionContext objects - private static final ConcurrentHashMap> ENDED_XA_TRANSACTION_CONTEXTS = new ConcurrentHashMap>(); + private final ConcurrentHashMap> ENDED_XA_TRANSACTION_CONTEXTS = new ConcurrentHashMap>(); private final ActiveMQConnection connection; private final LongSequenceGenerator localTransactionIdGenerator;