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 exam开发者_高级运维ple, does each MDB have a separate thread pool? Do they share a global pool?
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")
To answer my own question. All message-driven beans share a common thread pool that can be configured in jca-jboss-beans.xml in the deploy directory.
精彩评论