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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...