[jboss-svn-commits] JBL Code SVN: r10919 - labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Apr 12 06:12:44 EDT 2007


Author: estebanschifman
Date: 2007-04-12 06:12:43 -0400 (Thu, 12 Apr 2007)
New Revision: 10919

Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1/readme.txt
Log:
Change & clarify jbpm_simple1 readme.txt

Modified: labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1/readme.txt	2007-04-12 02:57:42 UTC (rev 10918)
+++ labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1/readme.txt	2007-04-12 10:12:43 UTC (rev 10919)
@@ -1,16 +1,20 @@
 
-This test is configured to use JMS transport:
+This test assumes that  .../product/services/jbpm/build/jbpm.esb has been deployed
+in the esb container deploy directory, and that the esb container is up and running
 
-queue/B with a message selector:  type='toJbpm' (see jbossesb.xml)
+The jbpm service is configured to use JMS transport,   queue/B with a message 
+selector:  type='toJbpm' (see .../product/services/jbpm/jboss-esb.xml)
 
-First terminal:
-1) cd to this directory ( ... product/samples/quickstarts/jbpm_simple1 )
-2) ant clean run
+It illustrates the lowest level method to invoke the jBPM API:  
+  all jBPM parameters travel in the Message in a predefined format 
+  (see org.jboss.soa.esb.services.jbpm.util.CommandVehicle)
 
-Second terminal
-1) cd to this directory ( ... product/samples/quickstarts/jbpm_simple1 )
-2) ant runtest
+1) A simple process definition (processdefinition.xml) is added to the jBPM DB
+2) new process instance for it is created
+3) a signal is sent to the token id returned in the previous call
+4) a signal is sent to the current process instance id
+5) the process instance is interrogated to see if it has ended
 
-Output on first  terminal will log hibernate and jbpm classes output
-Output on second terminal will log what's going on with the jBPM process
-
+Other quickstarts will use higher level jBPM related specialized services that
+require simpler interfaces, but that under the covers will still use this  low
+level command message interface
\ No newline at end of file




More information about the jboss-svn-commits mailing list