7.6 Increase Maximum Number of Message-Driven Bean Threads
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 custom work manager
- Modify the MDB deployment description and deploy the EAR.
- Create Custom Workmanager and add constraints to limit the number of the max MDB threads