users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Tue, 01 Sep 2009 08:22:11 PDT

According to most sources such as this [not definitive :-] one:
http://www.redhat.com/docs/manuals/rhaps/jonas-guide/s1-msgdrvbean-developing.html

an MDB's trans-attribute can only be Required or NotSupported "since there can be no pre-existing transaction context".

In JCA this just isn't true, because the resource adapter can create an ExecutionContext, in which case there [b]is[/b] a pre-existing transaction context, but (AFAIK) doesn't [b]have to[/b], in which case there isn't.

Does anyone know if other values of this attribute are supported for MDBs within JCA, in the general case and/or in Glassfish?
[Message sent by forum member 'matterbury' (matterbury_at_abinitio.com)]

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