The container can pool MDB instances in the same way as it does for stateless session beans. As soon as a new message reaches the destination, an MDB instance is retrieved from the pool to handle the message. Once the message is handled by the bean, the MDB instance is returned to the pool.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.