1 Reply Latest reply on May 14, 2003 5:40 PM by Adrian Brock

    MDB Transaction Problem

    hiro Newbie

      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&#12288;tag&#65289;

      Although tried also on SessionBean, even if it specified method-paramas tag there, it operated normally.

      Is this JBoss3.2.0's Bug?


      Thanks.