[infinispan-issues] [JBoss JIRA] Created: (ISPN-862) XAResource.isSameRM is not implemented correctly
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Wed Jan 5 11:04:21 EST 2011
XAResource.isSameRM is not implemented correctly
------------------------------------------------
Key: ISPN-862
URL: https://issues.jboss.org/browse/ISPN-862
Project: Infinispan
Issue Type: Bug
Affects Versions: 4.2.0.Final
Reporter: Mircea Markus
Assignee: Mircea Markus
Fix For: 5.0.0.BETA1
XAResource.isSameRM is described withing "3.4.9 Identifying Resource Manager Instance" of JTA spec.
Discussing this with Jonathan Halliday a cluster itself should be seen as a ResourceManager, which means that the semantic of XAResource.isSameRM(XAResource) is as follows:
- if it is the same type as ours (TransactionXAResource)
AND
- other's cluster name is same as ours
then return true. False in all other situations.
Current implementation returns true if and only of the two TransactionXAResource implementations are associated with the same Transaction object.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list