Search code examples
jbossjboss-mdb

JBoss Messaging and Thread Priority


I'm using JBoss 5.1.0 GA together with JMS.

I have two message-driven beans.

Could someone explain the threading model to me? For example, does each MDB have a separate thread pool? Do they share a global pool?


Solution

  • Bingo. That's the one I have been looking for. I have been trying different options and the number of threads still grew regardless of config like below.Jboss really has poor documentation.

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