1 Reply Latest reply on Sep 26, 2011 4:57 AM by Fabrizio Benedetti

    Configurable "maxSession" on MDB?

    Eric Chow Apprentice

      Hello,

       

      We can define the "maxSession" for MDB to control the concurrent thread by using the Annotation.

      @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "10").

       

      But is it possible to set the "maxSession" at runtime? I mean can I define the property value in a properties file and set it to the MDB at runtime. So that I can adjust the value when necessary.

       

      Please help.

       

      Best regards,

      Eric