[jboss-svn-commits] JBL Code SVN: r14509 - labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration2/processDefinition.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Aug 23 22:11:48 EDT 2007
Author: burrsutter
Date: 2007-08-23 22:11:48 -0400 (Thu, 23 Aug 2007)
New Revision: 14509
Modified:
labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration2/processDefinition/gpd.xml
labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration2/processDefinition/processdefinition.xml
labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration2/processDefinition/processimage.jpg
Log:
updates to RHDS Beta 1 jBPM GPD, plus updated to new mapping API
Modified: labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration2/processDefinition/gpd.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration2/processDefinition/gpd.xml 2007-08-24 02:11:15 UTC (rev 14508)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration2/processDefinition/gpd.xml 2007-08-24 02:11:48 UTC (rev 14509)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<root-container name="processDefinition1" width="948" height="681">
+<root-container name="bpm_orchestration2Process" width="804" height="579">
<node name="start" x="225" y="10" width="140" height="40">
<edge>
<label x="5" y="-10"/>
@@ -11,7 +11,11 @@
<label x="5" y="-10"/>
</edge>
</node>
- <node name="Validate Order" x="336" y="79" width="140" height="40"/>
+ <node name="Validate Order" x="341" y="80" width="140" height="40">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
<node name="fork1" x="170" y="234" width="325" height="25">
<edge>
<label x="5" y="-10"/>
@@ -33,18 +37,30 @@
<label x="5" y="-10"/>
</edge>
</node>
- <node name="Atlanta WHSE" x="405" y="297" width="140" height="40">
+ <node name="Atlanta WHSE" x="426" y="297" width="140" height="40">
<edge>
<label x="5" y="-10"/>
</edge>
</node>
- <node name="join1" x="143" y="379" width="341" height="25"/>
+ <node name="join1" x="143" y="379" width="341" height="25">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
<node name="Shipment Notice" x="246" y="432" width="140" height="40">
<edge>
<label x="5" y="-10"/>
</edge>
</node>
<node name="end1" x="246" y="499" width="140" height="40"/>
- <node name="Credit Check" x="116" y="155" width="140" height="40"/>
- <node name="Inventory Check" x="335" y="156" width="140" height="40"/>
+ <node name="Credit Check" x="116" y="155" width="140" height="40">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
+ <node name="Inventory Check" x="335" y="156" width="140" height="40">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
</root-container>
Modified: labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration2/processDefinition/processdefinition.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration2/processDefinition/processdefinition.xml 2007-08-24 02:11:15 UTC (rev 14508)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration2/processDefinition/processdefinition.xml 2007-08-24 02:11:48 UTC (rev 14509)
@@ -1,32 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<process-definition
- xmlns="urn:jbpm.org:jpdl-3.1" name="processDefinition1">
+ xmlns="urn:jbpm.org:jpdl-3.1" name="bpm_orchestration2Process">
<start-state name="start">
- <event type="node-enter">
- <action name="action1" class="org.jboss.soa.esb.samples.quickstarts.bpm_orchestration2.process_actions.MyBPMActionHandler" config-type="bean"></action>
- </event>
<transition name="" to="Receive Order"></transition>
</start-state>
- <node name="Receive Order">
- <event type="node-enter">
- <action name="esbAction" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
- <esbCategoryName>BPM_Orchestration2_Service1</esbCategoryName>
- <esbServiceName>Service1</esbServiceName>
- <millisToWaitForResponse>5000</millisToWaitForResponse>
- <jbpmToEsbVars>
+ <node name="Receive Order">
+ <action name="esbAction" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
+ <esbCategoryName>BPM_Orchestration2_Service1</esbCategoryName>
+ <esbServiceName>Service1</esbServiceName>
+ <millisToWaitForResponse>5000</millisToWaitForResponse>
+ <jbpmToEsbVars>
<mapping jbpm="theBody" esb="BODY_CONTENT" />
</jbpmToEsbVars>
<returnVars>
<mapping jbpm="theBody" esb="BODY_CONTENT" />
- </returnVars>
+ </returnVars>
</action>
- </event>
- <transition to="Shipment Notice"></transition>
- </node>
- <node name="Validate Order">
- <event type="node-enter">
+ <transition to="Credit Check"></transition>
+ </node>
+
+ <node name="Validate Order">
<action name="esbAction" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
<esbCategoryName>BPM_Orchestration2_Service2</esbCategoryName>
<esbServiceName>Service2</esbServiceName>
@@ -38,16 +33,16 @@
<mapping jbpm="theBody" esb="BODY_CONTENT" />
</returnVars>
</action>
- </event>
+ <transition to="Inventory Check"></transition>
</node>
<fork name="fork1">
- <transition name="" to="Los Angeles WHSE"></transition>
- <transition name="tr2" to="Dallas WHSE"></transition>
- <transition name="tr3" to="Atlanta WHSE"></transition>
+ <transition name="tr2" to="Atlanta WHSE"></transition>
+ <transition to="Dallas WHSE" name="to Dallas WHSE"></transition>
+ <transition to="Los Angeles WHSE" name="to Los Angeles WHSE"></transition>
</fork>
<node name="Los Angeles WHSE">
- <event type="node-enter">
+
<action name="esbAction" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
<esbCategoryName>BPM_Orchestration2_Service5</esbCategoryName>
<esbServiceName>Service5</esbServiceName>
@@ -59,11 +54,11 @@
<mapping jbpm="theBody" esb="BODY_CONTENT" />
</returnVars>
</action>
- </event>
+
<transition name="" to="join1"></transition>
</node>
<node name="Dallas WHSE">
- <event type="node-enter">
+
<action name="esbAction" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
<esbCategoryName>BPM_Orchestration2_Service6</esbCategoryName>
<esbServiceName>Service6</esbServiceName>
@@ -75,12 +70,12 @@
<mapping jbpm="theBody" esb="BODY_CONTENT" />
</returnVars>
</action>
- </event>
+
<transition name="" to="join1"></transition>
</node>
<node name="Atlanta WHSE">
- <event type="node-enter">
+
<action name="esbAction" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
<esbCategoryName>BPM_Orchestration2_Service7</esbCategoryName>
<esbServiceName>Service7</esbServiceName>
@@ -92,15 +87,15 @@
<mapping jbpm="theBody" esb="BODY_CONTENT" />
</returnVars>
</action>
- </event>
+
<transition name="" to="join1"></transition>
</node>
- <join name="join1"></join>
+ <join name="join1">
+ <transition to="Shipment Notice"></transition>
+ </join>
<node name="Shipment Notice">
- <event type="node-enter">
- <action name="action1" class="org.jboss.soa.esb.samples.quickstarts.bpm_orchestration2.process_actions.MyBPMActionHandler" config-type="bean"></action>
<action name="esbAction" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
<esbCategoryName>BPM_Orchestration2_ResultsService</esbCategoryName>
<esbServiceName>ResultsService</esbServiceName>
@@ -111,14 +106,14 @@
<mapping jbpm="theBody" esb="BODY_CONTENT" />
</returnVars>
</action>
- </event>
+
<transition name="" to="end1"></transition>
</node>
<end-state name="end1"></end-state>
<node name="Credit Check">
- <event type="node-enter">
+
<action name="esbAction" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
<esbCategoryName>BPM_Orchestration2_Service3</esbCategoryName>
<esbServiceName>Service3</esbServiceName>
@@ -129,11 +124,11 @@
<returnVars>
<mapping jbpm="theBody" esb="BODY_CONTENT" />
</returnVars>
- </action>
- </event>
+ </action>
+ <transition to="Validate Order"></transition>
</node>
<node name="Inventory Check">
- <event type="node-enter">
+
<action name="esbAction" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler">
<esbCategoryName>BPM_Orchestration2_Service4</esbCategoryName>
<esbServiceName>Service4</esbServiceName>
@@ -144,8 +139,8 @@
<returnVars>
<mapping jbpm="theBody" esb="BODY_CONTENT" />
</returnVars>
- </action>
- </event>
+ </action>
+ <transition to="fork1"></transition>
</node>
</process-definition>
\ No newline at end of file
Modified: labs/jbossesb/trunk/product/samples/quickstarts/bpm_orchestration2/processDefinition/processimage.jpg
===================================================================
(Binary files differ)
More information about the jboss-svn-commits
mailing list