activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: How to get XAConnectionFactory through the JCA 1.5 Resource Adapter ?
Date Mon, 11 Apr 2011 15:37:46 GMT
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 <s_pavlakis@yahoo.gr> 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

Mime
View raw message