-
1. Re: Resource adaptor and clustered connection factories
clebert.suconic Apr 11, 2008 10:43 AM (in response to sameuh)Why you opened a new thread.. you should have kept using that same thread.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133370
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:
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/configuration.html#conf.connectionfactory.attributes.supportsloadbalancing -
2. Re: Resource adaptor and clustered connection factories
sameuh Apr 11, 2008 10:59 AM (in response to sameuh)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. -
3. Re: Resource adaptor and clustered connection factories
clebert.suconic Apr 11, 2008 11:18 AM (in response to sameuh)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.