[jbossts-issues] [JBoss JIRA] (JBTM-2678) @TxLogged annotation does not work
Paul Robinson (JIRA)
issues at jboss.org
Fri Jul 22 08:25:00 EDT 2016
[ https://issues.jboss.org/browse/JBTM-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269285#comment-13269285 ]
Paul Robinson commented on JBTM-2678:
-------------------------------------
If I recall correctly:
The @TxLogged handler is used as a callback for when the TM has written the transaction log. It's a pretty low level callback and was used as a workaround in certain use-cases where a failure-window might occur. However, i think I concluded that the workaround never actually closes any failure windows, it just moves it around. The correct thing to do is to bridge each phase of the compensation transaction to a JTA transaction. The TM then ensures no failure windows exist.
If you need a better understanding I can go into more detail. Maybe with a whiteboard at hand.
> @TxLogged annotation does not work
> ----------------------------------
>
> Key: JBTM-2678
> URL: https://issues.jboss.org/browse/JBTM-2678
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Compensations
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 5.next
>
>
> @TxLogged annotation does not work in Compensations framework. All it's assertions were removed from the tests with this commit: https://github.com/jbosstm/narayana/commit/efd15eeb080c6b6338f3658c4aa58158c5e3ac6a#diff-a01554d0172e1da7703c5134820edb6aL124
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbossts-issues
mailing list