User development,

A new message was posted in the thread "HornetQ RA integration":

http://community.jboss.org/message/532659#532659

Author  : Vicky Kak
Profile : http://community.jboss.org/people/vickyk

Message:
--------------------------------------------------------------
> timfox wrote:
>  
> We're discussing this here:
>  
> http://community.jboss.org/message/532625#532625
>  
> AIUI (Jeff please correct me if I am wrong), the JBoss JCA impl is calling 
> getXAResource() even though no work is being done as part of an XA tx, which 
> seems incorrect to me
>  
Yes it does call the getXAReosource() on the MC even if there is not TX 
propagation. Here is the code which does it
org.jboss.resource.connectionmanager.TxConnectionManager::createConnectionListener()
http://anonsvn.jboss.org/repos/jbossas/trunk/connector/src/main/java/org/jboss/resource/connectionmanager/TxConnectionManager.java
 
Also the JCA interacts with the XASession's i.e which I assume are the 
XAResource via the TM, the TM could interact with the XAResources only when it 
is enlisted.If the TX is not propagated and JCA getting the XAResource and not 
making it available(by enlisting it in TX) should not have any effect AFAIU, I 
don't know how it is affecting TCK.
 
Yes as per the JCA specs we should not be calling the getXAResource on MC if 
there is not a TX propagation, this looks a bug to me also.
 
Jeff, are you able to get things working as it had been done in jboss messaing.
I could try making the changes in JCA but it might need more time for testing 
etc, I will raise a discussion about it in design forums too so that we hear 
more from otheres.

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/532659#532659


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to