Skip to main content

How do you make a JMS messsage delivery enrol in the active container managed tx?

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2013-07-11

On the below example,12 messages are sent via 1.1 and 2.0 style to 2 destinations and then ctx.setRollbackOnly() is invoked. All messages arrive at two destinations, one outside the EJB container (Java SE) and on MDBs inside the container.

Is there anything one needs to do to make JMS be JTA transaction aware?