You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by th3hunt <s_...@yahoo.gr> on 2011/04/11 10:15:17 UTC
How to get XAConnectionFactory through the JCA 1.5 Resource Adapter
?
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.
Re: How to get XAConnectionFactory through the JCA 1.5 Resource
Adapter ?
Posted by Gary Tully <ga...@gmail.com>.
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_...@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