[jboss-dev-forums] [Design of JCA on JBoss] - Re: JcaXAResourceRecovery
weston.price@jboss.com
do-not-reply at jboss.com
Thu Feb 1 07:11:01 EST 2007
Yes. I am aware of how it works.
For JCA resources this is not straightforward being that the underlying connection (and thus access to the XAResource) cannot always be easily recreated.
In the recovery work for JBM, you simply pass the name of the JMSProviderAdapter to your RecoveryModule implementation which allows you to access the XAConnection->XASession->XAResource.
In many cases in JCA deployments this isn't that straightforward for a variety of reasons:
1) The underlying resource requires an authenticated Subject to be created
2) The underlying resource requires programmatic user information (ConnectionRequestInfo) that is not supplied in the deployment.
3) Unlike JMS, most JCA deployments do not provide XA based connection factories for client use. In other words you cannot simply get a reference to the connection factory in JNDI and get the XAResource.
JMS is one thing, JCA is a different animal altogether.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009356#4009356
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009356
More information about the jboss-dev-forums
mailing list