[jbossts-issues] [JBoss JIRA] (JBTM-2353) Compensation handler interceptors should not throw exception, if there is no transaction

Gytis Trikleris (JIRA) issues at jboss.org
Fri Mar 20 06:33:18 EDT 2015


    [ https://issues.jboss.org/browse/JBTM-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052103#comment-13052103 ] 

Gytis Trikleris commented on JBTM-2353:
---------------------------------------

Yes, we agreed that it shouldn't do this, because it is the duty of @Compensatable handler 

> Compensation handler interceptors should not throw exception, if there is no transaction
> ----------------------------------------------------------------------------------------
>
>                 Key: JBTM-2353
>                 URL: https://issues.jboss.org/browse/JBTM-2353
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: TXFramework
>            Reporter: Gytis Trikleris
>            Assignee: Gytis Trikleris
>             Fix For: 5.0.5
>
>
> @TXCompensate, @TXConfirm, and @TxLogged interceptors throw exception, if there is not transaction. However, transaction availability check is also done by @Compensatable interceptor.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbossts-issues mailing list