users@ejb-spec.java.net

[ejb-spec users] [jsr345-experts] JMS 2.0 session creation in MDB lifecycle callback

From: Carlo de Wolf <cdewolf_at_redhat.com>
Date: Thu, 22 Aug 2013 14:37:43 +0200

Hi folks,

Given the change in JMS 2.0 to ignore the transacted argument in
createSession, plus the fact that a lifecycle callback of a MDB runs in
an unspecified transaction context (3.2 FR 5.4.6).
I think the delivery of message in the following MDB [1] becomes
non-deterministic. (Especially considering a rollback scenario.)

Is this the case, and if so, do we want to address it?

Carlo

[1]
https://github.com/wildfly/wildfly/blob/b3f05d2cd44177bfb9b70f97bc67f0ec72ddcee9/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/mdb/ReplyingMDB.java