]
JN JNC commented on WFLY-4633:
------------------------------
Thanks a lot for the tip Jeff.
CMT MDB response is not part of the transaction
-----------------------------------------------
Key: WFLY-4633
URL:
https://issues.jboss.org/browse/WFLY-4633
Project: WildFly
Issue Type: Bug
Components: EJB, JMS
Affects Versions: JBoss AS7 7.2.0.Final, 8.2.0.Final
Reporter: JN JNC
Assignee: Jeff Mesnil
My application uses container managed MDB to process client request received on a queue
and to send them response on a reply queue.
It seems the response which is sent within the onMessage method scope is being received
by the client before onMessage completion and outside same transaction scope.
This is an issue as transaction could be rollbacked and client will receive a success
status to its request.
The MDB implementation below illustrate the issue, response is effectively sent even with
a rollback only.