Hello.
In JBoss3.2.0, a problem is in transaction processing of MDB.
I defined container-transaction as ejb-jar.xml as follows.
<container-transaction>
<ejb-name>fooMDB</ejb-name>
<method-name>onMessage</method-name>
<method-params>
<method-param>javax.jms.Message</method-param>
</method-params>
<trans-attribute>Required</trans-attribute>
</container-transaction>
However, the transaction was not started when onMessage was called.
(I confirmed it's status using UserTransaction#getStatus())
When method-params tag was deleted, transaction started. (Or when * is set as method-name tag)
Although tried also on SessionBean, even if it specified method-paramas tag there, it operated normally.
Is this JBoss3.2.0's Bug?
Thanks.
It is/was a bug, now fixed.
It worked before as long as you don't specify
the parameter.
The default transaction attribute under jboss
is Required.
Regards,
Adrian