Please follow the steps below to create a WORK MANAGER
Environment -> Work Manager -> New
Configure Maxmimum and Minimum Thread Contraint
Target them on the server.
Once the work manager is created, an application can be configured to use it.
weblogic-ejb-jar.xml
<weblogic-enterprise-bean> <ejb-name>PRAsync</ejb-name> <message-driven-descriptor> <pool> <max-beans-in-free-pool>1000</max-beans-in-free-pool> <initial-beans-in-free-pool>50</initial-beans-in-free-pool> </pool> <destination-jndi-name>jms/PRAsyncTopic</destination-jndi-name> </message-driven-descriptor> <reference-descriptor> <ejb-local-reference-description> <ejb-ref-name>ejb/EngineBMTLocal</ejb-ref-name> <jndi-name>ejb/PREngineBMTLocal</jndi-name> </ejb-local-reference-description> <ejb-local-reference-description> <ejb-ref-name>ejb/EngineCMTLocal</ejb-ref-name> <jndi-name>ejb/PREngineCMTLocal</jndi-name> </ejb-local-reference-description> </reference-descriptor> <enable-call-by-reference>True</enable-call-by-reference> <jndi-name>ejb/PRAsync</jndi-name> <dispatch-policy>PegaWorkManager</dispatch-policy> </weblogic-enterprise-bean>
weblogic.xml
<?xml version="1.0" encoding="UTF-8"?> <weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app"> <dispatch-policy>PegaWorkManager</dispatch-policy> </weblogic-web-app>