Aha?finally it worked?!!!
I tried it yesterday with same setting, but not sure what mistake I was doing.
We need to configure MaximumSize in
\server\default\conf\standardjboss.xml to limit number of threads
of MDB.
message-driven-bean
default
org.jboss.ejb.plugins.jms.JMSC
What if I want to have 5 (or any number) instances (or threads)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972513#3972513
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972513
__
I put this in standardjboss.xml's Standard Message Driven Bean
node...
2
true
But that is not working...my MDB is happily accepting 4 simultaneous requests
and 4 instances are getting created...(I printed thread ID and object ID in
onMessage() method, which prints 4
How do I switch to strict maximum?
I searched for this in the JBoss manual, but didn't find anything :(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971524#3971524
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=397152