4 Replies Latest reply on Apr 27, 2010 11:47 AM by Fausto De La Torre

    Control the MDB instance number

    Eric Chow Apprentice

      Hello,

      Is it possible to control the instance number of MDB in JBoss?

      If I send more than one message to the Queue, JBoss will create n-Instances to handle each of those messages).

      I just want to create only one instance to handle all the messages one-by-one. No more than one MDB instance will be created.

      I check the reference, and found that there is a tag
      in <container-pool-conf> and
      in <container-invoker-conf>.

      Is that can limit the instance size? Which one should I use and what is the different between them ?


      Best regards,
      Eric