activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bausewein <>
Subject Re: Setting ActiveMQ Queues and QCFs as XA
Date Mon, 06 Oct 2008 08:04:42 GMT

rmh1 wrote:
> Hi All,
> I have done a search across the forums and there doesn't seem to be much
> hope, but i thought i would try and ask none the less %-|
> Does anyone know anything about configuring ActiveMQ as XA? I am using
> Websphere App server and can't for the life of me work out how to set it
> up!!
> any help would be much appreciated!

Maybe I do not understand your question, but I think in ActiveMQ there is
nothing to configure as XA.

On the client (i.e. Websphere) side:

Use the ActiveMQ resource adapter and add a javax.jms.XAConnectionFactory
connection-definition to "META-INF/ra.xml" like here:


Don't know why that's not included by default. If you use the JMS 1.0.2
style TopicSessions and QueueSessions, you must also define a connection
definition for them.

I don't know WebSphere, but there should be a datasource deployment
definition that links to the "connectionfactory-interface" in "ra.xml" of
the resource adapter.

In JBoss it looks like this:

      <adapter-display-name>ActiveMQ JMS Adapter for XA generic

hope this helps

BTW: maybe you should also look at jmsjca RA from Sun:

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message