BTM
  1. BTM
  2. BTM-130

TransactionSynchronizationRegistry.putResource(key, value) does not survive suspension

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.3, 3.0.0
    • Fix Version/s: 3.0.0
    • Labels:
      None
    • Testcase included:
      yes
    • Patch Submitted:
      Yes
    • Number of attachments :
      2

      Description

      According to the API docs of TransactionSynchronizationRegistry.putResource(key, value) the method

      adds or replaces an object in the Map of resources being managed for the transaction bound to the current thread at the time this method is called.

      The first patch is a test showing that this map is lost when resuming a suspended transaction.
      The second patch is a possible fix for this.
      Both patches should apply against branch btm-2.1.x.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Ludovic Orban
            Reporter:
            Patrick Kelchner
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: