2 Replies Latest reply on Mar 5, 2006 7:56 AM by smithd1

    Message Driven Beans & "method-attributes"

    smithd1 Newbie

      Looking at jboss_4_0.dtd it seems that MDBs in JBoss do not support the use of "method-attributes", particularly "transaction-timeout", why is this?

      I have looked in to this a little and it doesn't seem to be prohibited by the J2EE specs, in fact Weblogic seems to support the setting of transaction timeouts on MDBs, so why not JBoss?

      I guess it is either an error or a deliberate design decision not to support it, if it's the latter I would be interested to hear what the rational is?

      Thanks,
      David

        • 1. Re: Message Driven Beans &
          Adrian Brock Master

          Because the MDB transaction is not started by the EJB container
          like the other EJB types.

          Raise a feature request. There is no reason why the ServerSessionPool
          cannot ask the EJB container for this information.

          • 2. Re: Message Driven Beans &
            smithd1 Newbie

             

            "adrian@jboss.org" wrote:
            Because the MDB transaction is not started by the EJB container
            like the other EJB types.


            OK, I am going to have to think about that for a while!

            "adrian@jboss.org" wrote:
            Raise a feature request. There is no reason why the ServerSessionPool
            cannot ask the EJB container for this information.


            I will do, it is quite important in the project I am working on. I have a work around at the moment, but it's not very elegant.

            Thanks for the help,
            David