Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide

Configuring the Message-Driven Bean Settings

The pool for message-driven beans is similar to the pool for session beans described in To configure EJB pool settings. By default, the container maintains a pool of message—driven beans.

To adjust the configuration of this pool:

ProcedureTo configure MDB pool settings

  1. In the tree component, select the Configuration node.

  2. Select the EJB Container node.

  3. Click the MDB Settings tab.

  4. Under Pool Settings in the Initial and Minimum Pool Size field, enter the minimum number of message beans the container creates in the pool.

  5. In the Maximum Pool Size field, enter the maximum number of beans the container maintains in the pool, at any time.

  6. In the Pool Resize Quantity field, enter the number of beans that are removed from the pool if they are idle for more than the time specified in Pool Idle Timeout.

  7. In the Pool Idle Timeout field, enter the time, in seconds, that a bean in the pool can remain idle before it is removed from the pool.

  8. Click Save.

  9. Restart the Application Server.

See Also