[jboss-svn-commits] JBL Code SVN: r35244 - in labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2: processDefinition and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Sep 23 04:03:04 EDT 2010


Author: tfennelly
Date: 2010-09-23 04:03:01 -0400 (Thu, 23 Sep 2010)
New Revision: 35244

Modified:
   labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2/processDefinition/processdefinition.xml
   labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2/readme.txt
   labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2/scripts/results_service.groovy
Log:
https://jira.jboss.org/browse/JBESB-3450
bpm_orchestration2 process is not safe

Modified: labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2/processDefinition/processdefinition.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2/processDefinition/processdefinition.xml	2010-09-22 18:48:47 UTC (rev 35243)
+++ labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2/processDefinition/processdefinition.xml	2010-09-23 08:03:01 UTC (rev 35244)
@@ -48,7 +48,7 @@
             	<mapping bpm="theBody" esb="BODY_CONTENT" />
             </bpmToEsbVars>
             <esbToBpmVars>
-            	<mapping esb="BODY_CONTENT" bpm="theBody" />
+            	<mapping esb="BODY_CONTENT" bpm="theBody_LA" />
             </esbToBpmVars>            
          </action>
 
@@ -63,7 +63,7 @@
             	<mapping bpm="theBody" esb="BODY_CONTENT" />
             </bpmToEsbVars>
             <esbToBpmVars>
-            	<mapping  esb="BODY_CONTENT" bpm="theBody" />
+            	<mapping  esb="BODY_CONTENT" bpm="theBody_Dallas" />
             </esbToBpmVars>           
          </action>
 
@@ -79,7 +79,7 @@
             	<mapping bpm="theBody" esb="BODY_CONTENT" />
             </bpmToEsbVars>
             <esbToBpmVars>
-            	<mapping esb="BODY_CONTENT" bpm="theBody"/>
+            	<mapping esb="BODY_CONTENT" bpm="theBody_Atlanta"/>
             </esbToBpmVars>           
          </action>
 		
@@ -95,10 +95,14 @@
             <esbCategoryName>BPM_Orchestration2_ResultsService</esbCategoryName>
             <esbServiceName>ResultsService</esbServiceName>                 
 			<bpmToEsbVars>
-            	<mapping bpm="theBody" esb="BODY_CONTENT" />
+            	<mapping bpm="theBody_LA" esb="LA_Result" />
+            	<mapping bpm="theBody_Dallas" esb="Dallas_Result" />
+            	<mapping bpm="theBody_Atlanta" esb="Atlanta_Result" />
             </bpmToEsbVars>
             <esbToBpmVars>
-            	<mapping esb="BODY_CONTENT" bpm="theBody"/>
+            	<mapping bpm="theBody_LA" esb="LA_Result" />
+            	<mapping bpm="theBody_Dallas" esb="Dallas_Result" />
+            	<mapping bpm="theBody_Atlanta" esb="Atlanta_Result" />
             </esbToBpmVars>         
          </action>
       

Modified: labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2/readme.txt	2010-09-22 18:48:47 UTC (rev 35243)
+++ labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2/readme.txt	2010-09-23 08:03:01 UTC (rev 35244)
@@ -64,37 +64,41 @@
 
 Sample Output from "ant startProcess":
 ======================================
-13:18:38,451 INFO  [STDOUT] ** Begin Receive Order - Service 1 **
-13:18:38,451 INFO  [STDOUT] In: Getting Started
-13:18:38,451 INFO  [STDOUT] Out: Getting Started 'Receive Order' 
-13:18:38,451 INFO  [STDOUT] ** End Receive Order - Service 1 **
-13:18:38,553 INFO  [STDOUT] ** Begin Credit Check - Service 3 **
-13:18:38,554 INFO  [STDOUT] In: Getting Started 'Receive Order' 
-13:18:38,554 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check' 
-13:18:38,554 INFO  [STDOUT] ** End Credit Check - Service 3 **
-13:18:38,651 INFO  [STDOUT] ** Begin Validate Order - Service 2 **
-13:18:38,651 INFO  [STDOUT] In: Getting Started 'Receive Order'  'Credit Check' 
-13:18:38,651 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check'  'Validate Order' 
-13:18:38,651 INFO  [STDOUT] ** End Validate Order - Service 2 **
-13:18:38,736 INFO  [STDOUT] ** Begin Inventory Check - Service 4 **
-13:18:38,736 INFO  [STDOUT] In: Getting Started 'Receive Order'  'Credit Check'  'Validate Order' 
-13:18:38,736 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check' 
-13:18:38,736 INFO  [STDOUT] ** End Inventory Check - Service 4 **
-13:18:38,847 INFO  [STDOUT] ** Begin Los Angeles - Service 5 **
-13:18:38,847 INFO  [STDOUT] In: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check' 
-13:18:38,848 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Los Angeles' 
-13:18:38,848 INFO  [STDOUT] ** End Los Angeles - Service 5 **
-13:18:38,891 INFO  [STDOUT] ** Begin Atlanta - Service 7 **
-13:18:38,892 INFO  [STDOUT] In: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check' 
-13:18:38,892 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Atlanta' 
-13:18:38,893 INFO  [STDOUT] ** End Atlanta - Service 7 **
-13:18:38,949 INFO  [STDOUT] ** Begin Dallas - Service 6 **
-13:18:38,949 INFO  [STDOUT] In: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check' 
-13:18:38,950 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Dallas' 
-13:18:38,950 INFO  [STDOUT] ** End Dallas - Service 6 **
-13:18:39,105 INFO  [STDOUT] ***** Ship It *****
-13:18:39,106 INFO  [STDOUT] In: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Dallas' 
-13:18:39,106 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Dallas'  'Shipped' 
-13:18:39,106 INFO  [STDOUT] ***** End Ship It *****
-13:18:39,113 INFO  [STDOUT] SUCCESS!: 
-13:18:39,113 INFO  [STDOUT] [Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Dallas'  'Shipped' ].
+21:22:17,333 INFO  [STDOUT] ** Begin Receive Order - Service 1 **
+21:22:17,333 INFO  [STDOUT] In: Getting Started
+21:22:17,336 INFO  [STDOUT] Out: Getting Started 'Receive Order' 
+21:22:17,336 INFO  [STDOUT] ** End Receive Order - Service 1 **
+21:22:17,531 INFO  [STDOUT] ** Begin Credit Check - Service 3 **
+21:22:17,533 INFO  [STDOUT] In: Getting Started 'Receive Order' 
+21:22:17,534 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check' 
+21:22:17,534 INFO  [STDOUT] ** End Credit Check - Service 3 **
+21:22:17,800 INFO  [STDOUT] ** Begin Validate Order - Service 2 **
+21:22:17,801 INFO  [STDOUT] In: Getting Started 'Receive Order'  'Credit Check' 
+21:22:17,801 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check'  'Validate Order' 
+21:22:17,801 INFO  [STDOUT] ** End Validate Order - Service 2 **
+21:22:17,994 INFO  [STDOUT] ** Begin Inventory Check - Service 4 **
+21:22:17,995 INFO  [STDOUT] In: Getting Started 'Receive Order'  'Credit Check'  'Validate Order' 
+21:22:17,996 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check' 
+21:22:17,996 INFO  [STDOUT] ** End Inventory Check - Service 4 **
+21:22:18,287 INFO  [STDOUT] ** Begin Atlanta - Service 7 **
+21:22:18,305 INFO  [STDOUT] In: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check' 
+21:22:18,305 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Atlanta' 
+21:22:18,306 INFO  [STDOUT] ** End Atlanta - Service 7 **
+21:22:18,331 INFO  [STDOUT] ** Begin Dallas - Service 6 **
+21:22:18,338 INFO  [STDOUT] In: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check' 
+21:22:18,339 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Dallas' 
+21:22:18,339 INFO  [STDOUT] ** End Dallas - Service 6 **
+21:22:18,398 INFO  [STDOUT] ** Begin Los Angeles - Service 5 **
+21:22:18,409 INFO  [STDOUT] In: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check' 
+21:22:18,410 INFO  [STDOUT] Out: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Los Angeles' 
+21:22:18,410 INFO  [STDOUT] ** End Los Angeles - Service 5 **
+21:22:18,579 WARN  [HSQLDialect] HSQLDB supports only READ_UNCOMMITTED isolation
+21:22:18,643 WARN  [HSQLDialect] HSQLDB supports only READ_UNCOMMITTED isolation
+21:22:18,737 WARN  [HSQLDialect] HSQLDB supports only READ_UNCOMMITTED isolation
+21:22:18,839 INFO  [STDOUT] ***** Ship It *****
+21:22:18,841 INFO  [STDOUT] LA_Result: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Los Angeles' 
+21:22:18,841 INFO  [STDOUT] Dallas_Result: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Dallas' 
+21:22:18,841 INFO  [STDOUT] Atlanta_Result: Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Atlanta' 
+21:22:18,842 INFO  [STDOUT] ***** End Ship It *****
+21:22:18,866 INFO  [STDOUT] SUCCESS!: 
+21:22:18,866 INFO  [STDOUT] [Getting Started 'Receive Order'  'Credit Check'  'Validate Order'  'Inventory Check'  'Los Angeles'  'Shipped' ].

Modified: labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2/scripts/results_service.groovy
===================================================================
--- labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2/scripts/results_service.groovy	2010-09-22 18:48:47 UTC (rev 35243)
+++ labs/jbossesb/branches/JBESB_4_9_CP/product/samples/quickstarts/bpm_orchestration2/scripts/results_service.groovy	2010-09-23 08:03:01 UTC (rev 35244)
@@ -2,10 +2,10 @@
 
 println "***** Ship It *****"
 
-println "In: " + message.getBody().get()
+println "LA_Result: " + message.getBody().get("LA_Result")
+println "Dallas_Result: " + message.getBody().get("Dallas_Result")
+println "Atlanta_Result: " + message.getBody().get("Atlanta_Result")
 
-message.getBody().add(message.getBody().get() + " 'Shipped' ")
+message.getBody().add(message.getBody().get("LA_Result") + " 'Shipped' ")
 
-println "Out: " + message.getBody().get()
-
 println "***** End Ship It *****"
\ No newline at end of file



More information about the jboss-svn-commits mailing list