Return-Path: X-Original-To: apmail-aries-dev-archive@www.apache.org Delivered-To: apmail-aries-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 51562114EE for ; Thu, 12 Jun 2014 11:35:02 +0000 (UTC) Received: (qmail 1070 invoked by uid 500); 12 Jun 2014 11:35:02 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 1029 invoked by uid 500); 12 Jun 2014 11:35:02 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 1017 invoked by uid 99); 12 Jun 2014 11:35:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 11:35:02 +0000 Date: Thu, 12 Jun 2014 11:35:02 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: dev@aries.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (ARIES-1158) XAConnectionFactory not recoverable 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/ARIES-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume Nodet reopened ARIES-1158: ------------------------------------ > XAConnectionFactory not recoverable > ----------------------------------- > > Key: ARIES-1158 > URL: https://issues.apache.org/jira/browse/ARIES-1158 > Project: Aries > Issue Type: Bug > Components: Transaction > Environment: Windows/UNIX > Reporter: Benjamin Graf > > GenericResourceManager needs XAConnectionFactory for recovery but gets only ConnectionFactory which wraps the XAConnectionFactory provided. > XaPooledConnectionFactory: > public void setXaConnectionFactory(XAConnectionFactory xaConnectionFactory) { > this.xaConnectionFactory = xaConnectionFactory; > setConnectionFactory(new ConnectionFactory() { > public Connection createConnection() throws JMSException { > return XaPooledConnectionFactory.this.xaConnectionFactory.createXAConnection(); > } > public Connection createConnection(String userName, String password) throws JMSException { > return XaPooledConnectionFactory.this.xaConnectionFactory.createXAConnection(userName, password); > } > }); > } -- This message was sent by Atlassian JIRA (v6.2#6252)