Details
-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
Description
This might happen e.g. if an event is fired after the transaction is marked for rollback. We should catch javax.transaction.RollbackException and java.lang.IllegalStateException (I'm not sure about javax.transaction.SystemException) and notify all transactional observers immediately, except for observers with TransactionPhase.AFTER_SUCCESS (these should be ignored).
Attachments
Issue Links
- is related to
-
WELD-2132 Clarify TransactionServices.registerSynchronization() contract
- Resolved