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 -
- Modify the MDB deployment descriptor, and redeploy the EAR
- Create a Custom Work manager, and add constraints to limit the number of the max MDB threads
- Modify weblogic-ejb-jar.xml
This topic explains systematic instructions to modify the weblogic-ejb-jar.xml. - Create Work Manager
This topic explains systematic instructions to create the work manager.