[jbossts-issues] [JBoss JIRA] (JBTM-2329) Add a management API that an AbstractRecord provider can implement to clear the heuristic state of a transaction

Tom Jenkinson (JIRA) issues at jboss.org
Tue Aug 11 09:02:02 EDT 2015


     [ https://issues.jboss.org/browse/JBTM-2329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Jenkinson updated JBTM-2329:
--------------------------------
    Reporter: Michael Musgrove  (was: Tom Jenkinson)


> Add a management API that an AbstractRecord provider can implement to clear the heuristic state of a transaction
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBTM-2329
>                 URL: https://issues.jboss.org/browse/JBTM-2329
>             Project: JBoss Transaction Manager
>          Issue Type: Feature Request
>          Components: Transaction Core
>            Reporter: Michael Musgrove
>            Assignee: Tom Jenkinson
>             Fix For: 5.later
>
>
> 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)
> {code}
> public interface HeuristicManagement
> {
>     public void resolve() throws CouldNotResolveException;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbossts-issues mailing list