[infinispan-issues] [JBoss JIRA] (ISPN-1862) fire TransactionCompletedEvent not as part of the transaction

Pedro Ruivo (JIRA) issues at jboss.org
Thu May 19 10:45:01 EDT 2016


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

Pedro Ruivo closed ISPN-1862.
-----------------------------
    Resolution: Duplicate Issue


ISPN-2090 auto suspend/resume the transaction before triggering the notification. 

> fire TransactionCompletedEvent not as part of the transaction
> -------------------------------------------------------------
>
>                 Key: ISPN-1862
>                 URL: https://issues.jboss.org/browse/ISPN-1862
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core
>    Affects Versions: 5.1.1.FINAL
>            Reporter: Thomas Fromm
>            Assignee: Pedro Ruivo
>            Priority: Minor
>
> When catching TransactionCompletedEvent I would expect, the transaction is committed, especially when isTransactionSuccessful() == true.
> I need to perform some operations after a transaction was completed. My workaround is ATM to suspend the transaction, perform my (async) stuff, and
> resume it afterwards. But in case of errors after resume, I get another TransactionCompletedEvent for this transaction with isTransactionSuccessful() == false.
> You see, I need something like a TransactionReallyCompletedEvent :-)
> My change request is, that the TransactionCompletedEvents should be fired, after the transaction was committed.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list