• Post Reply Bookmark Topic Watch Topic
  • New Topic

MDB in connection pool  RSS feed

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a MDB which listen to a particular Queue. I have configured a pool of 10 instance of MDB. So if I send a message to that particular queue, does my mssage reach to only one instance of MDB or it will reach to all MDB with in the pool. And again what will happen if my MDB listen to a topic instead of queue(pool with remain same)?
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All pooling systems work in the same way: an instance is assigned by the Container to service a request. When that request has been processed, the instance is returned to the pool (assuming that a system exception was not thrown from the instance which would cause the Container to destroy the instance).
 
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

So if I send a message to that particular queue, does my mssage reach to only one instance of MDB or it will reach to all MDB with in the pool



Will reach a single instance
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!