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 307C81728A for ; Fri, 6 Mar 2015 12:54:39 +0000 (UTC) Received: (qmail 78488 invoked by uid 500); 6 Mar 2015 12:54:39 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 78425 invoked by uid 500); 6 Mar 2015 12:54:39 -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 78413 invoked by uid 99); 6 Mar 2015 12:54:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2015 12:54:38 +0000 Date: Fri, 6 Mar 2015 12:54:38 +0000 (UTC) From: "Jochen Cordes (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-5638) Add option to set credentials on XaPooledConnectionFactory 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-5638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350300#comment-14350300 ] Jochen Cordes commented on AMQ-5638: ------------------------------------ The credential can be set on the URL like this: failover:(tcp://localhost:61616)?jms.rmIdFromConnectionId=true&maxReconnectAttempts=0&jms.xaAckMode=2&jms.userName=admin&jms.password=admin Therefore I will close this issue as I haven't been able to manage to get XaPooledConnectionFactory working as an admin-object inside the resource-adapter as it doesn't implement XAConnectionFactory which was expected by the Hornetq JMS-bridge implementation. > Add option to set credentials on XaPooledConnectionFactory > ---------------------------------------------------------- > > Key: AMQ-5638 > URL: https://issues.apache.org/jira/browse/AMQ-5638 > Project: ActiveMQ > Issue Type: Improvement > Components: activemq-pool > Affects Versions: 5.11.0 > Reporter: Jochen Cordes > > In situations where it is not possible to pass a ActiveMQConnectionFactory to the constructor of org.apache.activemq.pool.XaPooledConnectionFactory (i.e. when using the resource-adapter) methods for setting the credentials on XaPooledConnectionFactory are needed. > Once an ActiveMQConnectionFactory object is available, i.e. when the method setBrokerUrl on org.apache.activemq.pool.XaPooledConnectionFactory these methods can be used to propagate the credentials to ActiveMQConnectionFactory. -- This message was sent by Atlassian JIRA (v6.3.4#6332)