Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 85647 invoked from network); 11 Apr 2011 15:38:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 15:38:13 -0000 Received: (qmail 57974 invoked by uid 500); 11 Apr 2011 15:38:12 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 57949 invoked by uid 500); 11 Apr 2011 15:38:12 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 57941 invoked by uid 99); 11 Apr 2011 15:38:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 15:38:12 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.tully@gmail.com designates 209.85.216.43 as permitted sender) Received: from [209.85.216.43] (HELO mail-qw0-f43.google.com) (209.85.216.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 15:38:07 +0000 Received: by qwf6 with SMTP id 6so4116975qwf.2 for ; Mon, 11 Apr 2011 08:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=4sAuCAxgcOc8UbS7eBXLOhMeUMO1p8ZuSTbLJ1taoCo=; b=xgAEtAWWIx1939ZtDxMTZzN96kt6LvXhIaiRxhybiu67sqnhGg1plu2oTu+rWE0k4j FAOlafr3yFnJgruUNM1sjJA5g0MvsxmvWePyH5XceGRW/pWQty5DZmjywwy2RLaHShKO dLzMBOyXgcXjfpOB7uj6xDizI2xh48fpx0LiI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=hWlzNvKJnuRGV6sPO5IfRcJROGfuk2jpmSwOC2QsuooclQI+Dbu5OBMatW/rM3K3jp d9ie1nN9Lax5to4EvYisIeT2Slp4iziZkl2g6zn9zCqg3FC+zOYEzePosglXfhB4QXLA FXxrtFs3p9ty7FsBupqzoagOhL7zCBeVzvyOg= MIME-Version: 1.0 Received: by 10.229.68.138 with SMTP id v10mr4160426qci.204.1302536266610; Mon, 11 Apr 2011 08:37:46 -0700 (PDT) Received: by 10.229.104.209 with HTTP; Mon, 11 Apr 2011 08:37:46 -0700 (PDT) In-Reply-To: <1302509717629-3441351.post@n4.nabble.com> References: <1302509717629-3441351.post@n4.nabble.com> Date: Mon, 11 Apr 2011 16:37:46 +0100 Message-ID: Subject: Re: How to get XAConnectionFactory through the JCA 1.5 Resource Adapter ? From: Gary Tully To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org The only reason you should need to deal with the XA connection factory is for recovery as the RAR (JCA) contracts (between an appserver and resource adapter) deal with XA under the hood. The XA resource is provided by the RAR and utilised by the app server when required. Check out the comments in https://issues.apache.org/jira/browse/AMQ-2670 to see how a jndi reference is configured in jboss for recovery handling. Recovery configuration is outside the spec. For glassfish there will be something similar required but it is focused on recovery of an XAResource by the underlying JTA that is the motivation. On 11 April 2011 09:15, th3hunt wrote: > Hi all, > > I need some guidance in how to get a XAConnectionFactory > (ActiveMQXAConnectionFactory) from the resource adapter for both inbound and > outbound connections. I checked the ra.xml and I didn't manage anything. > Many ppl have the same question and I see no answers on the web. > > (Glassfish 3.1 & ActiveMQ 5.5) > > Thx alot. > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/How-to-get-XAConnectionFactory-through-the-JCA-1-5-Resource-Adapter-tp3441351p3441351.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- http://blog.garytully.com http://fusesource.com