[jbpm-commits] JBoss JBPM SVN: r6697 - jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/META-INF.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Sep 28 16:49:33 EDT 2010


Author: bradsdavis
Date: 2010-09-28 16:49:32 -0400 (Tue, 28 Sep 2010)
New Revision: 6697

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:
Added activation configs.

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-09-28 20:44:59 UTC (rev 6696)
+++ jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/META-INF/ejb-jar.xml	2010-09-28 20:49:32 UTC (rev 6697)
@@ -54,7 +54,22 @@
       <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>
+      <messaging-type>javax.jms.MessageListener</messaging-type>
+	  <activation-config>
+		<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>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>maxSession</activation-config-property-name>
+            <activation-config-property-value>150</activation-config-property-value>
+         </activation-config-property>
+      </activation-config>
       <resource-ref>
         <description>
           Logical name of the factory that provides JMS connections for sending result messages.
@@ -75,7 +90,20 @@
       <ejb-class>org.jbpm.ejb.JobListenerBean</ejb-class>
       <messaging-type>javax.jms.MessageListener</messaging-type>
       <message-destination-type>javax.jms.Queue</message-destination-type>
-
+	  <activation-config>
+		<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>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>maxSession</activation-config-property-name>
+            <activation-config-property-value>150</activation-config-property-value>
+         </activation-config-property>
+      </activation-config>
       <resource-ref>
         <description>
           Logical name of the factory that provides JMS connections for sending result messages.
@@ -86,25 +114,5 @@
       </resource-ref>
     </message-driven>
 
-    <message-driven>
-      <description>
-        Listens for timer references and runs the timers through the command service.
-      </description>
-      <display-name>jBPM Timer Listener</display-name>
-      <ejb-name>TimerListenerBean</ejb-name>
-      <mapped-name>queue/JbpmTimerQueue</mapped-name>
-      <ejb-class>org.jbpm.ejb.JobListenerBean</ejb-class>
-      <messaging-type>javax.jms.MessageListener</messaging-type>
-      <message-destination-type>javax.jms.Queue</message-destination-type>
-
-      <resource-ref>
-        <description>
-          Logical name of the factory that provides JMS connections for sending result messages.
-          Required for command messages that indicate a reply destination.
-        </description>
-        <res-ref-name>jms/JbpmConnectionFactory</res-ref-name>
-        <mapped-name>java:JmsXA</mapped-name>
-      </resource-ref>
-    </message-driven>
   </enterprise-beans>
 </ejb-jar>

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-09-28 20:44:59 UTC (rev 6696)
+++ jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/resources/META-INF/jboss.xml	2010-09-28 20:49:32 UTC (rev 6697)
@@ -1,11 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 5.0//EN"
-  "http://www.jboss.org/j2ee/dtd/jboss_5_0.dtd">
 <jboss>
-  <enterprise-beans>
-    <session>
-      <ejb-name>CommandServiceBean</ejb-name>
-      <local-jndi-name>java:jbpm/CommandServiceBean</local-jndi-name>
-    </session>
-  </enterprise-beans>
+       <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>AsyncRequestListenerBean 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>AsyncRequestListenerBean MDB</aop-domain-name>
+              </message-driven>
+              <session>
+                     <ejb-name>CommandServiceBean</ejb-name>
+                     <local-jndi-name>java:jbpm/CommandServiceBean</local-jndi-name>
+              </session>
+       </enterprise-beans>
 </jboss>
+
+



More information about the jbpm-commits mailing list