0 Replies Latest reply on Jun 5, 2006 9:42 AM by Shai Wolf

    Why are ServerSessions transacted?

    Shai Wolf Newbie


      I am using JBoss 4.0 SP1.
      I deployed a MDB that is not transacted.
      In the ejb-jar.xml the trans-attribute tag of the MDB has the value NotSopported, like so:


      However, the ServerSessions that JBoss create are transacted, and the JMS sessions that they hold are transacted. As a result, after the MDB's onMessage() method is called, JBoss invokes the commit() method of the JMS session.

      Can anyone explain why non-transacted MDBs use transacted sessions? In other words, why does JBoss create transacted ServerSessions even when the MDB is not marked as transacted?