You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by agabel <An...@ecube.de> on 2007/01/19 08:23:42 UTC

XAConnectionFactory

I use Jboss 4.0.5 and activeMQ 4.1.

I want to define a XAConnectionFactory. I doesnt find any documentation
about this point. 
If I define in the ra.xml following:

<connection-definition>                                                                                                                                                                               
<managedconnectionfactory-class>org.apache.activemq.ra.ActiveMQManagedConnectionFactory</managedconnectionfactory-class>
               
<connectionfactory-interface>javax.jms.XAConnectionFactory</connectionfactory-interface>               
<connectionfactory-impl-class>org.apache.activemq.ActiveMQXAConnectionFactory</connectionfactory-impl-class>
               
<connection-interface>javax.jms.XAConnection</connection-interface>
               
<connection-impl-class>org.apache.activemq.ra.ManagedConnectionProxy</connection-impl-class>
            </connection-definition>

I get also a org.apache.activemq.ra.ActiveMQConnectionFactory. I guess this
is because the ActiveMQManagedConnectionFactory always produce a
ActiveMQConnectionFactory.

Anyone knows a solution??

Andreas Gabel
-- 
View this message in context: http://www.nabble.com/XAConnectionFactory-tf3038642.html#a8445158
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: XAConnectionFactory

Posted by "David Smiley @MITRE.org" <DS...@mitre.org>.
Has anything become of this?  I'm using ActiveMQ 5 now, if that matters.

agabel wrote:
> 
> I use Jboss 4.0.5 and activeMQ 4.1.
> 
> I want to define a XAConnectionFactory. I doesnt find any documentation
> about this point. 
> If I define in the ra.xml following:
> 
> <connection-definition>                                                                                                                                                                               
> <managedconnectionfactory-class>org.apache.activemq.ra.ActiveMQManagedConnectionFactory</managedconnectionfactory-class>
>                
> <connectionfactory-interface>javax.jms.XAConnectionFactory</connectionfactory-interface>               
> <connectionfactory-impl-class>org.apache.activemq.ActiveMQXAConnectionFactory</connectionfactory-impl-class>
>                
> <connection-interface>javax.jms.XAConnection</connection-interface>
>                
> <connection-impl-class>org.apache.activemq.ra.ManagedConnectionProxy</connection-impl-class>
>             </connection-definition>
> 
> I get also a org.apache.activemq.ra.ActiveMQConnectionFactory. I guess
> this is because the ActiveMQManagedConnectionFactory always produce a
> ActiveMQConnectionFactory.
> 
> Anyone knows a solution??
> 
> Andreas Gabel
> 

-- 
View this message in context: http://www.nabble.com/XAConnectionFactory-tp8445158s2354p16327898.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.