Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1C1C10DA3 for ; Wed, 2 Apr 2014 21:51:24 +0000 (UTC) Received: (qmail 64882 invoked by uid 500); 2 Apr 2014 21:51:23 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 64812 invoked by uid 500); 2 Apr 2014 21:51:21 -0000 Mailing-List: contact dev-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 dev@activemq.apache.org Received: (qmail 64173 invoked by uid 99); 2 Apr 2014 21:51:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2014 21:51:16 +0000 Date: Wed, 2 Apr 2014 21:51:16 +0000 (UTC) From: "Hadrian Zbarcea (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMQ-5031) Allow isSameRM override from broker identity to connection identity to avoid xa.join MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-5031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hadrian Zbarcea updated AMQ-5031: --------------------------------- Fix Version/s: 5.9.1 > Allow isSameRM override from broker identity to connection identity to avoid xa.join > ------------------------------------------------------------------------------------ > > Key: AMQ-5031 > URL: https://issues.apache.org/jira/browse/AMQ-5031 > Project: ActiveMQ > Issue Type: Improvement > Components: JMS client > Affects Versions: 5.9.0 > Reporter: Gary Tully > Assignee: Gary Tully > Priority: Minor > Labels: 2pc, isSameRm, join, xa > Fix For: 5.9.1, 5.10.0 > > > When two connection are involved in an xa transaction, 1pc is great and basing the xaresource identity on the broker identity makes sense. However in the cases that an joined xa association is not ended, which seems ok from an xa perspective, a joined association is left in error. > To avoid this, we need a way to force 2pc across multiple connections to the same broker. > A broker url param like jms.rmIdFromConnectionId=true will do the trick and ensure that the RM identity is tied to the connection and not the broker. -- This message was sent by Atlassian JIRA (v6.2#6252)