users@glassfish.java.net

Re: MDB trans-attribute element in ejb-jar.xml for JCA

From: <glassfish_at_javadesktop.org>
Date: Wed, 02 Sep 2009 08:01:44 PDT

If it's important that the MDB *not* run within the context of a tx, you can use bean managed transactions and just not start one. Or, use TX_NOT_SUPPORTED.

About tx inflow, while there's no prohibition against consuming a JMS message in an MDB from a connector that flows in transactions, that's certainly not the intended use case. Tx inflow was mainly added to support the non - JMS MDB case.
[Message sent by forum member 'ksak' (kenneth.saks_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=362713