Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
7.0.6, 7.1.1, 8.0.0-M3
-
None
-
None
Description
https://docs.oracle.com/javaee/7/api/javax/jms/Connection.html#createSession-int-
In a Java EE web or EJB container, when there is an active JTA transaction in progress: The argument sessionMode is ignored. The session will participate in the JTA transaction and will be committed or rolled back when that transaction is committed or rolled back, not by calling the session's commit or rollback methods. Since the argument is ignored, developers are recommended to use createSession(), which has no arguments, instead of this method.
When there is a JTA Transaction in place, TomEE is returning non XA Sessions.