Why you opened a new thread.. you should have kept using that same thread.
MDBs should aways use the current server they are on, right? What's the point of a MDB talking to a remote server when the server is already there. But you have that option though.. you just the jmsra at jms-ds.xml, but that seams too weird.
Look at the manual, and you will also find some properties you can add to the Connectionfactory:
I opened a new thread because it is another issue.
I use 2 connection factories : one which is clustered and one which is not.
=> I need 2 provider loader and 2 JMS XA Resource adapter.
I'm wondering if the createConnection() on the ConnectionFactory provided by JMS-RA will have the same effect (roundrobin) as the createConnection() on the ConnectionFactory provided by a jndi lookup.
That is an option on the JCA adapter. The JCA Connection Factory will delegate its creation to the CF configured at jms-ds.xml.
If you know what you're doing you just change the jms-ds.xml on the application server to use the CF you want.
If you need more help with configuring the jms-ds.xml you will have to ask on the JCA user's forum.