开发者

JBoss Messaging and Thread Priority

开发者 https://www.devze.com 2023-01-22 01:30 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消