[
https://issues.apache.org/jira/browse/GERONIMO-6051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061372#comment-13061372
]
Florent Guillaume commented on GERONIMO-6051:
---------------------------------------------
BTW this affects 3.1 also but this version is not available in the version list
in JIRA.
> Transaction timeout detection
> -----------------------------
>
> Key: GERONIMO-6051
> URL: https://issues.apache.org/jira/browse/GERONIMO-6051
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: transaction manager
> Affects Versions: 3.0.1
> Reporter: Florent Guillaume
> Priority: Minor
>
> When a transaction is in timeout, the application can only know about it when
> calling {{commit()}}.
> Wouldn't it make sense to make {{TransactionImpl.getStatus()}} do the
> {{TransactionTimer.getCurrentTime() > timeout}} check and switch the status
> to {{STATUS_MARKED_ROLLBACK}} when it's true?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira