[jbpm-commits] JBoss JBPM SVN: r6733 - in jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources: META-INF and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Oct 4 11:58:53 EDT 2010


Author: bradsdavis
Date: 2010-10-04 11:58:52 -0400 (Mon, 04 Oct 2010)
New Revision: 6733

Added:
   jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/jbpm-aop.xml
Modified:
   jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/META-INF/ejb-jar.xml
   jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/META-INF/jboss.xml
Log:
Adding AOP Domain to increase the threads for the jBPM MDBs.

Modified: jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/META-INF/ejb-jar.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/META-INF/ejb-jar.xml	2010-10-04 15:58:21 UTC (rev 6732)
+++ jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/META-INF/ejb-jar.xml	2010-10-04 15:58:52 UTC (rev 6733)
@@ -8,7 +8,7 @@
       <description>Executes commands in a separate context.</description>
       <display-name>jBPM Command Service</display-name>
       <ejb-name>CommandServiceBean</ejb-name>
-
+	  
       <resource-ref>
         <description>
           Data source that provides the persistence service with connections.
@@ -44,8 +44,7 @@
       </description>
       <display-name>jBPM Command Listener</display-name>
       <ejb-name>CommandListenerBean</ejb-name>
-      <mapped-name>queue/JbpmCommandQueue</mapped-name>
-      <ejb-class>org.jbpm.ejb.CommandListenerBean</ejb-class>
+      <ejb-class>org.jbpm.ejb.JobListenerBean</ejb-class>
       <messaging-type>javax.jms.MessageListener</messaging-type>
       <activation-config>
         <activation-config-property>
@@ -56,6 +55,14 @@
       		<activation-config-property-name>dLQJNDIName</activation-config-property-name>
       		<activation-config-property-value>queue/JbpmDLQ</activation-config-property-value>
       	</activation-config-property>
+      	<activation-config-property>
+      		<activation-config-property-name>destination</activation-config-property-name>
+      		<activation-config-property-value>queue/JbpmCommandQueue</activation-config-property-value>
+      	</activation-config-property>
+        <activation-config-property>
+          <activation-config-property-name>destinationType</activation-config-property-name>
+          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
+        </activation-config-property>
       </activation-config>
       <resource-ref>
         <description>
@@ -73,7 +80,7 @@
       </description>
       <display-name>jBPM Job Listener</display-name>
       <ejb-name>JobListenerBean</ejb-name>
-      <mapped-name>queue/JbpmJobQueue</mapped-name>
+      <ejb-class>org.jbpm.ejb.JobListenerBean</ejb-class>
       <activation-config>
         <activation-config-property>
           <activation-config-property-name>maxSession</activation-config-property-name>
@@ -83,6 +90,14 @@
       		<activation-config-property-name>dLQJNDIName</activation-config-property-name>
       		<activation-config-property-value>queue/JbpmDLQ</activation-config-property-value>
       	</activation-config-property>
+        <activation-config-property>
+      		<activation-config-property-name>destination</activation-config-property-name>
+      		<activation-config-property-value>queue/JbpmJobQueue</activation-config-property-value>
+      	</activation-config-property>
+		<activation-config-property>
+          <activation-config-property-name>destinationType</activation-config-property-name>
+          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
+        </activation-config-property>
       </activation-config>
       <resource-ref>
         <description>

Modified: jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/META-INF/jboss.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/META-INF/jboss.xml	2010-10-04 15:58:21 UTC (rev 6732)
+++ jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/META-INF/jboss.xml	2010-10-04 15:58:52 UTC (rev 6733)
@@ -1,21 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<jboss>
+<jboss xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://www.jboss.org/j2ee/schema http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
+       version="5.0">
   <enterprise-beans>
     <message-driven>
       <ejb-name>CommandListenerBean</ejb-name>
       <depends>jboss.esb.destination:service=Queue,name=JbpmCommandQueue</depends>
       <depends>jboss.esb.destination:service=Queue,name=JbpmDLQ</depends>
+      <aop-domain-name>jBPM MDB</aop-domain-name>
     </message-driven>
 
     <message-driven>
       <ejb-name>JobListenerBean</ejb-name>
       <depends>jboss.esb.destination:service=Queue,name=JbpmJobQueue</depends>
       <depends>jboss.esb.destination:service=Queue,name=JbpmDLQ</depends>
+      <aop-domain-name>jBPM MDB</aop-domain-name>
     </message-driven>
 
     <session>
       <ejb-name>CommandServiceBean</ejb-name>
       <local-jndi-name>java:jbpm/CommandServiceBean</local-jndi-name>
+      <aop-domain-name>jBPM Stateless</aop-domain-name>
     </session>
   </enterprise-beans>
 </jboss>

Added: jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/jbpm-aop.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/jbpm-aop.xml	                        (rev 0)
+++ jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/jbpm-aop.xml	2010-10-04 15:58:52 UTC (rev 6733)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<aop xmlns="urn:jboss:aop-beans:1.0">
+
+   <domain name="jBPM Stateless" extends="Stateless Bean" inheritBindings="true">
+      <annotation expr="class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=200, timeout=10000)
+      </annotation>
+   </domain>
+
+   <domain name="jBPM MDB" extends="Message Driven Bean" inheritBindings="true">
+      <annotation expr="class(@org.jboss.annotation.ejb.PoolClass)">
+         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=200, timeout=10000)
+      </annotation>
+   </domain>
+</aop>
+


Property changes on: jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/jbpm-aop.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain



More information about the jbpm-commits mailing list