We are using Jboss 7 Application Server. I have a scenario that I can not understand if the configuration done is correct or not. Please explain somebody. I would be very thankful.
We have,
MDB instance pool size configured as 20
max-session attribute configured for each MDB as 20.
- Does that mean that I have a total of 20 sessions available per connection (which would make this 400 JMS Sessions for 20 connections) or does this mean that there are only 20 sessions available to be used among 20 connections?
- Does each MDB instance use separate dedicated JMS connection and session? Or all MDB instances of one class type shares a JMS connection but with different JMS session?
- Can we configure the JBOSS AS 7 JMS connection pool with such big number say 400+ ?
- On starting up the server itself I have noticed that consumer count on some queue has been shown as 20 which are the MDB max-session value configured on the queue? is it correct, that all MDB instances will be active by acquiring a JMS connection and start a MessageListener on it?