Quantcast
Channel: GlassFish Related Items on Java.net
Viewing all articles
Browse latest Browse all 1091

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

$
0
0

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.

http://speedy.sh/uYxQp/JmsNoEnroleInTransaction.zip

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


Viewing all articles
Browse latest Browse all 1091

Trending Articles