-
Enhancement
-
Resolution: Done
-
Major
-
5.9.5.Final
-
None
The current JTA CDI extenstion works only with CDI @Initialized and @Destroyed event (https://github.com/jbosstm/narayana/blob/5.10.6.Final/ArjunaJTA/cdi/classes/com/arjuna/ats/jta/cdi/NarayanaTransactionManager.java#L148) but not emit the event for @BeforeDestroyed.
The reason is that the CDI API version used in Narayana is for 1.2 (https://github.com/jbosstm/narayana/blob/master/pom.xml#L458) while the annotation @BeforeDestroyed was introduced in CDI version 2.0.
Narayana should move to CDI version 2.0 and start emitting the @BeforeDestroyed event as well.
See more description on the functionality at http://jbossts.blogspot.com/2019/04/jta-and-cdi-integration.html (New Narayana CDI features).
The
- is related to
-
WFLY-14872 Upgrade Narayana to 5.12.0.Final
- Closed
- relates to
-
JBTM-3106 Firing an @Initialized(TransactionScoped.class) event
- Closed