0 Replies Latest reply on Jul 18, 2016 5:38 AM by Samarjit Adhikari

    Does Jboss create multiple MDB instances with property "maxSession"

    Samarjit Adhikari Newbie

      Hello experts,


      There are confusions regarding following properties of MDB.

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


      Documentation says (from link Chapter 20. Introduction to Message Driven Beans in EJB3)

      maxSessionintThe maximum number of jms sessions that are available to concurrently deliver messages to this mdb


      It looks like Jboss will create only once instance of MDB and multiple JMS sessions(10) to deliver messages to this single instance.

      Is my understanding correct?


      is there any way JBOSS can create multiple MDB instances and single JMS session for each MDB instances?

      Thanks in advance.


      With regards,