[jbpm-commits] JBoss JBPM SVN: r6718 - jbpm3/branches/jbpm-3.2-soa/distribution/src/main/resources/destination.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Sep 30 13:01:14 EDT 2010


Author: bradsdavis
Date: 2010-09-30 13:01:14 -0400 (Thu, 30 Sep 2010)
New Revision: 6718

Modified:
   jbpm3/branches/jbpm-3.2-soa/distribution/src/main/resources/destination/jbpm-jbm-service.xml
Log:
Adding the jbpm queue configurations for jboss messaging.  includes a retry delay and dead letter queue configuration.

Modified: jbpm3/branches/jbpm-3.2-soa/distribution/src/main/resources/destination/jbpm-jbm-service.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/distribution/src/main/resources/destination/jbpm-jbm-service.xml	2010-09-30 16:56:45 UTC (rev 6717)
+++ jbpm3/branches/jbpm-3.2-soa/distribution/src/main/resources/destination/jbpm-jbm-service.xml	2010-09-30 17:01:14 UTC (rev 6718)
@@ -1,41 +1,30 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-<!-- 
-  This file defines the default queues that jBPM ships with.
-  The default queues are used by the Command Listener Bean
-  and the producer-consumer pair formed by the JMS Connector Service and
-  the Job/Timer Listener Bean.
-
-  You can add other destinations to this file, or you can create other
-  *-service.xml files to contain your application's destinations.
--->
-
 <server>
 
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=JbpmJobQueue"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-    <depends>jboss.messaging:service=PostOffice</depends>
-    <!-- JBPM-1952 a small redelivery delay goes a long way towards mitigating
-         stale state exceptions and deadlocks under heavy concurrency conditions -->
-    <attribute name="RedeliveryDelay">1000</attribute>
-  </mbean>
+    <mbean code="org.jboss.jms.server.destination.QueueService"
+           name="jboss.esb.destination:service=Queue,name=JbpmDLQ"
+           xmbean-dd="xmdesc/Queue-xmbean.xml">
+        <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+        <depends>jboss.messaging:service=PostOffice</depends>
+    </mbean>
+    
+    <mbean code="org.jboss.jms.server.destination.QueueService"
+           name="jboss.esb.destination:service=Queue,name=JbpmCommandQueue"
+           xmbean-dd="xmdesc/Queue-xmbean.xml">
+        <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+        <depends>jboss.messaging:service=PostOffice</depends>
+        <attribute name="RedeliveryDelay">60000</attribute>
+        <attribute name="DLQ">jboss.esb.destination:service=Queue,name=JbpmDLQ</attribute>
+    </mbean>
+    
+	<mbean code="org.jboss.jms.server.destination.QueueService"
+           name="jboss.esb.destination:service=Queue,name=JbpmJobQueue"
+           xmbean-dd="xmdesc/Queue-xmbean.xml">
+        <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+        <depends>jboss.messaging:service=PostOffice</depends>
+        <attribute name="RedeliveryDelay">60000</attribute>
+        <attribute name="DLQ">jboss.esb.destination:service=Queue,name=JbpmDLQ</attribute>
+    </mbean>
+    
 
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=JbpmTimerQueue"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-    <depends>jboss.messaging:service=PostOffice</depends>
-    <attribute name="RedeliveryDelay">1000</attribute>
-  </mbean>
-
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=JbpmCommandQueue"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-    <depends>jboss.messaging:service=PostOffice</depends>
-    <attribute name="RedeliveryDelay">1000</attribute>
-  </mbean>
-
 </server>
\ No newline at end of file



More information about the jbpm-commits mailing list