Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-862

XAResource.isSameRM is not implemented correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 4.2.0.Final
    • None
    • None

      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.

            mircea.markus Mircea Markus (Inactive)
            mircea.markus Mircea Markus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: