Reputation: 1175
JBoss: 6 or 7
Question1:
How many instances of Message Driven Bean are created by Jboss to handle messages?
Question2:
How to configure number of Message Driven Beans created by JBoss?
Upvotes: 3
Views: 3906
Reputation: 7371
According to this JBoss EAP 5 (JBoss AS 6) documentation:
You need to take care of two concepts
Session Size: This is the parameter configured according to the standard with the following annotations:
@ActivationConfigProperty(propertyName="minSessions"
, propertyValue="25")
@ActivationConfigProperty(propertyName="maxSessions"
, propertyValue="50")
Where minSession and maxSessions are the number of instances created by JBoss. But if the StrictMaxPool is set to 15 then you cannot create more than 15 instances although you configure maxSessions to 50
For JBoss EAP 6 (JBoss AS 7) the pool is named mdb-strict-max-pool and their default max pool size is 20.
Upvotes: 5