Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2329

Add a management API that an AbstractRecord provider can implement to clear the heuristic state of a transaction

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Transaction Core
    • None

    Description

      If an AbstractRecord type has resulted in a heuristic state, it would be useful to provide some form of management API to clear the state on the resource manager.

      After discussion on the forum, it seems likely the API would be something like:

      Update AbstractRecord to change the return type of value() to the HeuristicManagement interface (rather than Object). Although value() is maybe not the most accurate term and it does appear that this is used internally by XAResourceRecord in an unintended manner (i.e. not dealing with HeuristicInformation.

      Add a new interface of modify the existing HeuristicInformation (the current version of which is to be deprecated in: JBTM-2328)

      public interface HeuristicManagement
      {
          public void resolve() throws CouldNotResolveException;
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: