9.6 Increase maximum number of message-driven bean threads

The default number of consumers for an MDB is 16. To increase or restrict this number create Custom Work Manager with a Max Threads Constraint in conjunction with MDBs.

The solution is to create a work manager with a max threads constraint and assign the proxy services dispatch policy to this work manager. Steps to create a custom work manager -
  1. Modify the MDB deployment descriptor, and redeploy the EAR
  2. Create a Custom Work manager, and add constraints to limit the number of the max MDB threads