[jboss-svn-commits] JBL Code SVN: r18033 - labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Jan 22 10:24:01 EST 2008


Author: kurt.stam at jboss.com
Date: 2008-01-22 10:24:01 -0500 (Tue, 22 Jan 2008)
New Revision: 18033

Added:
   labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testAsync.jpg
   labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testAsync.xml
   labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testSync.jpg
   labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testSync.xml
Log:
JBESB-1444, demonstrate how to make signaling asynchronous, by adding the async="true" attribute to node's jDPL.

Added: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testAsync.jpg
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testAsync.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testAsync.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testAsync.xml	                        (rev 0)
+++ labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testAsync.xml	2008-01-22 15:24:01 UTC (rev 18033)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process-definition 
+  xmlns="urn:jbpm.org:jpdl-3.2"
+  name="testAsync">
+   <start-state name="start">
+      <transition name="toExtraNode" to="extranode"></transition>
+   </start-state>
+   <node name="extranode">
+       <transition name="toMyNode" to="mynode"></transition>
+   </node>
+   <node name="mynode" >
+       <action name="dummy" class="org.jboss.soa.esb.services.jbpm.actionhandlers.DummyAction"/>
+       <transition name="toWait2Seconds" to="wait2seconds" />
+   </node>
+   <node name="wait2seconds" async="true">
+       <transition name="toEnd" to="end">
+       	<action name="wait2seconds" class="org.jboss.soa.esb.services.jbpm.actionhandlers.Wait2SecondsAction"/>
+       </transition>
+   </node>
+   <end-state name="end"></end-state>
+</process-definition>
\ No newline at end of file


Property changes on: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testAsync.xml
___________________________________________________________________
Name: svn:mime-type
   + text/xml
Name: svn:eol-style
   + native

Added: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testSync.jpg
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testSync.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testSync.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testSync.xml	                        (rev 0)
+++ labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testSync.xml	2008-01-22 15:24:01 UTC (rev 18033)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process-definition 
+  xmlns="urn:jbpm.org:jpdl-3.2"
+  name="testSync">
+   <start-state name="start">
+      <transition name="toExtraNode" to="extranode"></transition>
+   </start-state>
+   <node name="extranode">
+       <transition name="toMyNode" to="mynode"></transition>
+   </node>
+   <node name="mynode" >
+       <action name="dummy" class="org.jboss.soa.esb.services.jbpm.actionhandlers.DummyAction"/>
+       <transition name="toWait2Seconds" to="wait2seconds" />
+   </node>
+   <node name="wait2seconds">
+       <transition name="toEnd" to="end">
+       	<action name="wait2seconds" class="org.jboss.soa.esb.services.jbpm.actionhandlers.Wait2SecondsAction"/>
+       </transition>
+   </node>
+   <end-state name="end"></end-state>
+</process-definition>
\ No newline at end of file


Property changes on: labs/jbossesb/branches/JBESB_4_2_1_GA_CP/product/services/jbpm/src/test/resources/testSync.xml
___________________________________________________________________
Name: svn:mime-type
   + text/xml
Name: svn:eol-style
   + native




More information about the jboss-svn-commits mailing list