[jboss-svn-commits] JBL Code SVN: r37979 - in labs/jbossesb/trunk/product/samples/quickstarts: bpm5processor and 12 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Apr 3 11:30:49 EDT 2012


Author: tcunning
Date: 2012-04-03 11:30:47 -0400 (Tue, 03 Apr 2012)
New Revision: 37979

Added:
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/Evaluation.bpmn
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/deployment.xml
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/hornetq-jms.xml
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jbm-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jbmq-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jbossesb-properties.xml
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jndi.properties
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/lib/
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/lib/drools-persistence-jpa-5.3.1.Final.jar
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/lib/jbpm-persistence-jpa-5.2.0.Final.jar
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/log4j.xml
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/MyJMSListenerAction.java
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/test/
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/test/SendEsbMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/test/SendJMSMessage.java
Removed:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/Evaluation.bpmn
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/lib/
Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/deployment.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/hornetq-jms.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbmq-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.java
Log:
JBESB-3767
Check in quickstart, repair helloworld quickstart which was overwritten accidentally.


Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/Evaluation.bpmn
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/Evaluation.bpmn	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/Evaluation.bpmn	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,272 @@
+<?xml version="1.0" encoding="UTF-8"?> 
+<definitions id="Definition"
+             targetNamespace="http://www.jboss.org/drools"
+             typeLanguage="http://www.java.com/javaTypes"
+             expressionLanguage="http://www.mvel.org/2.0"
+             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
+             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+             xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
+             xmlns:g="http://www.jboss.org/drools/flow/gpd"
+             xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
+             xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
+             xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
+             xmlns:tns="http://www.jboss.org/drools">
+
+  <itemDefinition id="_employeeItem" />
+  <itemDefinition id="_reasonItem" />
+  <itemDefinition id="_performanceItem" />
+  <itemDefinition id="_contentItem" />
+
+  <process processType="Private" isExecutable="true" id="com.sample.evaluation" name="Evaluation" tns:packageName="defaultPackage" >
+
+    <!-- process variables -->
+    <property id="employee" itemSubjectRef="_employeeItem"/>
+    <property id="reason" itemSubjectRef="_reasonItem"/>
+    <property id="performance" itemSubjectRef="_performanceItem"/>
+    <property id="content" itemSubjectRef="_contentItem"/>
+
+    <!-- nodes -->
+    <startEvent id="_1" name="Start" />
+    <userTask id="_2" name="Self Evaluation" >
+      <extensionElements>
+        <tns:onEntry-script scriptFormat="http://www.java.com/java">
+          <script>java.util.Map contentParam = new java.util.HashMap();
+contentParam.put("reason", reason);
+kcontext.setVariable("content", contentParam);</script>
+        </tns:onEntry-script>
+      </extensionElements>
+      <ioSpecification>
+        <dataInput id="_2_ContentInput" name="Content" />
+        <dataInput id="_2_CommentInput" name="Comment" />
+        <dataInput id="_2_SkippableInput" name="Skippable" />
+        <dataInput id="_2_TaskNameInput" name="TaskName" />
+        <dataOutput id="_2_performanceOutput" name="performance" />
+        <inputSet>
+          <dataInputRefs>_2_ContentInput</dataInputRefs>
+          <dataInputRefs>_2_CommentInput</dataInputRefs>
+          <dataInputRefs>_2_SkippableInput</dataInputRefs>
+          <dataInputRefs>_2_TaskNameInput</dataInputRefs>
+        </inputSet>
+        <outputSet>
+          <dataOutputRefs>_2_performanceOutput</dataOutputRefs>
+        </outputSet>
+      </ioSpecification>
+      <dataInputAssociation>
+        <sourceRef>content</sourceRef>
+        <targetRef>_2_ContentInput</targetRef>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_2_CommentInput</targetRef>
+        <assignment>
+          <from xsi:type="tFormalExpression">Please perform a self-evalutation.</from>
+          <to xsi:type="tFormalExpression">_2_CommentInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_2_SkippableInput</targetRef>
+        <assignment>
+          <from xsi:type="tFormalExpression">false</from>
+          <to xsi:type="tFormalExpression">_2_SkippableInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_2_TaskNameInput</targetRef>
+        <assignment>
+          <from xsi:type="tFormalExpression">Performance Evaluation</from>
+          <to xsi:type="tFormalExpression">_2_TaskNameInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataOutputAssociation>
+        <sourceRef>_2_performanceOutput</sourceRef>
+        <targetRef>performance</targetRef>
+      </dataOutputAssociation>
+      <potentialOwner>
+        <resourceAssignmentExpression>
+          <formalExpression>#{employee}</formalExpression>
+        </resourceAssignmentExpression>
+      </potentialOwner>
+    </userTask>
+    <userTask id="_3" name="PM Evaluation" >
+      <extensionElements>
+        <tns:onEntry-script>
+          <script>java.util.Map contentParam = new java.util.HashMap();
+contentParam.put("reason", reason);
+contentParam.put("performance", performance);
+kcontext.setVariable("content", contentParam);</script>
+        </tns:onEntry-script>
+      </extensionElements>
+      <ioSpecification>
+        <dataInput id="_3_ContentInput" name="Content" />
+        <dataInput id="_3_CommentInput" name="Comment" />
+        <dataInput id="_3_SkippableInput" name="Skippable" />
+        <dataInput id="_3_TaskNameInput" name="TaskName" />
+        <inputSet>
+          <dataInputRefs>_3_ContentInput</dataInputRefs>
+          <dataInputRefs>_3_CommentInput</dataInputRefs>
+          <dataInputRefs>_3_SkippableInput</dataInputRefs>
+          <dataInputRefs>_3_TaskNameInput</dataInputRefs>
+        </inputSet>
+        <outputSet>
+        </outputSet>
+      </ioSpecification>
+      <dataInputAssociation>
+        <sourceRef>content</sourceRef>
+        <targetRef>_3_ContentInput</targetRef>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_3_CommentInput</targetRef>
+        <assignment>
+          <from xsi:type="tFormalExpression">You need to evaluate #{employee}.</from>
+          <to xsi:type="tFormalExpression">_3_CommentInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_3_SkippableInput</targetRef>
+        <assignment>
+          <from xsi:type="tFormalExpression">false</from>
+          <to xsi:type="tFormalExpression">_3_SkippableInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_3_TaskNameInput</targetRef>
+        <assignment>
+          <from xsi:type="tFormalExpression">Performance Evaluation</from>
+          <to xsi:type="tFormalExpression">_3_TaskNameInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <potentialOwner>
+        <resourceAssignmentExpression>
+          <formalExpression>john</formalExpression>
+        </resourceAssignmentExpression>
+      </potentialOwner>
+    </userTask>
+    <userTask id="_4" name="HR Evaluation" >
+      <extensionElements>
+        <tns:onEntry-script scriptFormat="http://www.java.com/java">
+          <script>java.util.Map contentParam = new java.util.HashMap();
+contentParam.put("reason", reason);
+contentParam.put("performance", performance);
+kcontext.setVariable("content", contentParam);</script>
+        </tns:onEntry-script>
+      </extensionElements>
+      <ioSpecification>
+        <dataInput id="_4_ContentInput" name="Content" />
+        <dataInput id="_4_CommentInput" name="Comment" />
+        <dataInput id="_4_SkippableInput" name="Skippable" />
+        <dataInput id="_4_TaskNameInput" name="TaskName" />
+        <inputSet>
+          <dataInputRefs>_4_ContentInput</dataInputRefs>
+          <dataInputRefs>_4_CommentInput</dataInputRefs>
+          <dataInputRefs>_4_SkippableInput</dataInputRefs>
+          <dataInputRefs>_4_TaskNameInput</dataInputRefs>
+        </inputSet>
+        <outputSet>
+        </outputSet>
+      </ioSpecification>
+      <dataInputAssociation>
+        <sourceRef>content</sourceRef>
+        <targetRef>_4_ContentInput</targetRef>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_4_CommentInput</targetRef>
+        <assignment>
+          <from xsi:type="tFormalExpression">You need to evaluate #{employee}.</from>
+          <to xsi:type="tFormalExpression">_4_CommentInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_4_SkippableInput</targetRef>
+        <assignment>
+          <from xsi:type="tFormalExpression">false</from>
+          <to xsi:type="tFormalExpression">_4_SkippableInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <dataInputAssociation>
+        <targetRef>_4_TaskNameInput</targetRef>
+        <assignment>
+          <from xsi:type="tFormalExpression">Performance Evaluation</from>
+          <to xsi:type="tFormalExpression">_4_TaskNameInput</to>
+        </assignment>
+      </dataInputAssociation>
+      <potentialOwner>
+        <resourceAssignmentExpression>
+          <formalExpression>mary</formalExpression>
+        </resourceAssignmentExpression>
+      </potentialOwner>
+    </userTask>
+    <parallelGateway id="_5" name="Gateway" gatewayDirection="Diverging" />
+    <parallelGateway id="_6" name="Gateway" gatewayDirection="Converging" />
+    <endEvent id="_7" name="End" >
+        <terminateEventDefinition/>
+    </endEvent>
+
+    <!-- connections -->
+    <sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" />
+    <sequenceFlow id="_5-_3" sourceRef="_5" targetRef="_3" />
+    <sequenceFlow id="_5-_4" sourceRef="_5" targetRef="_4" />
+    <sequenceFlow id="_2-_5" sourceRef="_2" targetRef="_5" />
+    <sequenceFlow id="_4-_6" sourceRef="_4" targetRef="_6" />
+    <sequenceFlow id="_3-_6" sourceRef="_3" targetRef="_6" />
+    <sequenceFlow id="_6-_7" sourceRef="_6" targetRef="_7" />
+
+  </process>
+
+  <bpmndi:BPMNDiagram>
+    <bpmndi:BPMNPlane bpmnElement="com.sample.evaluation" >
+      <bpmndi:BPMNShape bpmnElement="_1" >
+        <dc:Bounds x="16" y="56" width="48" height="48" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="_2" >
+        <dc:Bounds x="96" y="56" width="135" height="48" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="_3" >
+        <dc:Bounds x="344" y="96" width="136" height="48" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="_4" >
+        <dc:Bounds x="344" y="16" width="136" height="48" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="_5" >
+        <dc:Bounds x="263" y="56" width="48" height="48" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="_6" >
+        <dc:Bounds x="512" y="56" width="48" height="48" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape bpmnElement="_7" >
+        <dc:Bounds x="593" y="56" width="48" height="48" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge bpmnElement="_1-_2" >
+        <di:waypoint x="40" y="80" />
+        <di:waypoint x="163" y="80" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="_5-_3" >
+        <di:waypoint x="287" y="80" />
+        <di:waypoint x="287" y="120" />
+        <di:waypoint x="412" y="120" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="_5-_4" >
+        <di:waypoint x="287" y="80" />
+        <di:waypoint x="287" y="40" />
+        <di:waypoint x="412" y="40" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="_2-_5" >
+        <di:waypoint x="163" y="80" />
+        <di:waypoint x="287" y="80" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="_4-_6" >
+        <di:waypoint x="412" y="40" />
+        <di:waypoint x="536" y="40" />
+        <di:waypoint x="536" y="80" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="_3-_6" >
+        <di:waypoint x="412" y="120" />
+        <di:waypoint x="537" y="120" />
+        <di:waypoint x="536" y="80" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge bpmnElement="_6-_7" >
+        <di:waypoint x="536" y="80" />
+        <di:waypoint x="617" y="80" />
+      </bpmndi:BPMNEdge>
+    </bpmndi:BPMNPlane>
+  </bpmndi:BPMNDiagram>
+
+</definitions>
\ No newline at end of file

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/build.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/build.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,39 @@
+<project name="Quickstart_bpm5processor" default="run" basedir=".">
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+
+	<!--
+        <property name="additional.deploys" value="Evaluation.bpmn, META-INF/persistence.xml, META-INF/JBPMorm.xml, META-INF/hibernate.cfg.xml"/>
+	-->
+	<property name="additional.deploys" value="Evaluation.bpmn"/>
+	
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
+	
+	<target name="runtest" depends="compile" 
+		description="sends a JMS message to queue/quickstart_bpm5processor_Request_gw">
+		<echo>Runs Test JMS Sender</echo>
+
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.bpm5processor.test.SendJMSMessage" failonerror="true">
+			<sysproperty key="log4j.configuration" value="${log4j.xml}"/> 
+			<arg value="Hello World"/>
+			<classpath refid="exec-classpath"/>
+		</java>
+	</target>  
+	
+	<target name="sendesb" depends="compile"
+		description="Will send an esb Message">
+		<echo>Runs Test ESB Message Sender</echo>
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.bpm5processor.test.SendEsbMessage" failonerror="true">
+			<sysproperty key="log4j.configuration" value="${log4j.xml}"/>
+			<arg value="FirstServiceESB"/> <!--  service category -->
+			<arg value="SimpleListener"/>  <!--  service name -->
+			<arg value="Hello World - Straight to ESB listener - no Gateway"/> <!--  Message text -->
+			<classpath refid="exec-classpath"/>
+		</java>
+	</target>
+	
+</project>

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/deployment.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/deployment.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/deployment.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<jbossesb-deployment>
+  <jmsQueue>quickstart_bpm5processor_Request_esb</jmsQueue>
+  <jmsQueue>quickstart_bpm5processor_Request_gw</jmsQueue>
+  <depends>jboss.esb:deployment=jbpm5.esb</depends>
+  <depends>jboss.jca:name=jboss/datasources/jbpm5DS,service=DataSourceBinding</depends>
+</jbossesb-deployment>

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/hornetq-jms.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/hornetq-jms.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/hornetq-jms.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
+  <queue name="quickstart_bpm5processor_Request_esb">
+    <entry name="queue/quickstart_bpm5processor_Request_esb"/>
+  </queue>
+  <queue name="quickstart_bpm5processor_Request_gw">
+    <entry name="queue/quickstart_bpm5processor_Request_gw"/>
+  </queue>
+  <queue name="quickstart_bpm5processor_Request_esb">
+    <entry name="queue/quickstart_bpm5processor_Request_abort"/>
+  </queue>
+  <queue name="quickstart_bpm5processor_Request_esb">
+    <entry name="queue/quickstart_bpm5processor_Request_signal"/>
+  </queue>
+</configuration>

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jbm-queue-service.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jbm-queue-service.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_esb"
+    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.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_gw"
+    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.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_abort"
+    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.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_signal"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+        <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+        <depends>jboss.messaging:service=PostOffice</depends>
+  </mbean>
+
+
+</server>

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jbmq-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jbmq-queue-service.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jbmq-queue-service.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_esb">
+    <depends optional-attribute-name="DestinationManager">
+      jboss.mq:service=DestinationManager
+    </depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_gw">
+    <depends optional-attribute-name="DestinationManager">
+      jboss.mq:service=DestinationManager
+    </depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_abort">
+    <depends optional-attribute-name="DestinationManager">
+      jboss.mq:service=DestinationManager
+    </depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_signal">
+    <depends optional-attribute-name="DestinationManager">
+      jboss.mq:service=DestinationManager
+    </depends>
+  </mbean>
+</server>

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jboss-esb.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jboss-esb.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,106 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
+    parameterReloadSecs="5">
+
+    <providers>
+          <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+              <jms-bus busid="quickstartGwChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/quickstart_bpm5processor_Request_gw"
+                   />
+              </jms-bus>
+              <jms-bus busid="quickstartEsbChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/quickstart_bpm5processor_Request_esb"
+                  />
+              </jms-bus>
+
+              <jms-bus busid="quickstartAbortChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/quickstart_bpm5processor_Request_abort"
+                  />
+              </jms-bus>
+
+              <jms-bus busid="quickstartSignalChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/quickstart_bpm5processor_Request_signal"
+                  />
+              </jms-bus>
+
+
+          </jms-provider>
+      </providers>
+      
+      <services>
+        <service 
+        	category="FirstServiceESB" 
+        	name="SimpleListener" 
+        	description="Hello World">
+            <listeners>
+                <jms-listener name="JMS-Gateway"
+                    busidref="quickstartGwChannel"
+                    is-gateway="true"
+                />
+                <jms-listener name="helloWorld"
+                              busidref="quickstartEsbChannel"
+                />
+            </listeners>
+            <actions mep="OneWay">
+                    <action name="action2" class="org.jboss.soa.esb.actions.SystemPrintln">
+                      <property name="printfull" value="false"/>
+                    </action>
+
+		   <action name="jbpm5" class="org.jboss.soa.esb.services.jbpm5.actions.Bpm5Processor">
+	              <property name="process-definition-name" value="Evaluation.bpmn"/>
+                      <property name="process-id" value="com.sample.evaluation"/>
+                      <property name="process-action" value="startProcess"/>
+                      <property name="esbToBpmParams">
+                        <mapping esb="employee" bpm="employee" value="krisv"/>
+                        <mapping esb="reason" bpm="reason" value="Yearly performance review"/>
+                      </property>
+
+		   </action>
+
+                   <action name="routeAction" class="org.jboss.soa.esb.actions.StaticRouter">
+                       <property name="destinations">
+                           <route-to service-category="FirstServiceESB" service-name="AbortListener"/>
+                      </property>
+                   </action>
+             </actions>
+	</service>
+        <service
+                category="FirstServiceESB"
+                name="AbortListener"
+                description="Hello World">
+            <listeners>
+                <jms-listener name="helloWorld"
+                              busidref="quickstartAbortChannel"
+                />
+            </listeners>
+            <actions mep="OneWay">
+                   <action name="jbpm5-2" class="org.jboss.soa.esb.services.jbpm5.actions.Bpm5Processor">
+                      <property name="process-definition-name" value="Evaluation.bpmn"/>
+                      <property name="process-id" value="com.sample.evaluation"/>
+                      <property name="process-action" value="abortProcessInstance"/>
+                      <property name="esbToBpmParams">
+                        <mapping esb="employee" bpm="employee" value="krisv"/>
+                        <mapping esb="reason" bpm="reason" value="Yearly performance review"/>
+                      </property>
+
+                   </action>
+
+                   <action name="action3" class="org.jboss.soa.esb.actions.SystemPrintln">
+                      <property name="printfull" value="true"/>
+                    </action>
+
+            </actions>
+        </service>
+      </services>
+     
+</jbossesb>

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jbossesb-properties.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jbossesb-properties.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jbossesb-properties.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  JBoss, Home of Professional Open Source
+  Copyright 2006, JBoss Inc., and others contributors as indicated 
+  by the @authors tag. All rights reserved. 
+  See the copyright.txt in the distribution for a
+  full listing of individual contributors. 
+  This copyrighted material is made available to anyone wishing to use,
+  modify, copy, or redistribute it subject to the terms and conditions
+  of the GNU Lesser General Public License, v. 2.1.
+  This program is distributed in the hope that it will be useful, but WITHOUT A 
+  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+  PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+  You should have received a copy of the GNU Lesser General Public License,
+  v.2.1 along with this distribution; if not, write to the Free Software
+  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+  MA  02110-1301, USA.
+  
+  (C) 2005-2006,
+  @author JBoss Inc.
+-->
+<!-- $Id: jbossesb-unittest-properties.xml $ -->
+<!--
+  These options are described in the JBossESB manual.
+  Defaults are provided here for convenience only.
+ 
+  Please read through this file prior to using the system, and consider
+  updating the specified entries.
+-->
+<esb
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:noNamespaceSchemaLocation="jbossesb-1_0.xsd">
+    <properties name="core">
+		<property name="org.jboss.soa.esb.jndi.server.type" value="jboss"/>
+		<property name="org.jboss.soa.esb.jndi.server.url" value="localhost"/>
+		<property name="org.jboss.soa.esb.persistence.connection.factory" 	value="org.jboss.internal.soa.esb.persistence.format.MessageStoreFactoryImpl"/>
+        <property name="jboss.esb.invm.scope.default" value="NONE"/>
+    </properties>
+    <properties name="registry">      
+    	<property name="org.jboss.soa.esb.registry.queryManagerURI" value="org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService#inquire"/>
+    	<property name="org.jboss.soa.esb.registry.lifeCycleManagerURI" value="org.apache.juddi.v3.client.transport.wrapper.UDDIPublicationService#publish"/>
+    	<property name="org.jboss.soa.esb.registry.securityManagerURI" value="org.apache.juddi.v3.client.transport.wrapper.UDDISecurityService#secure"/>
+    	<property name="org.jboss.soa.esb.registry.implementationClass" value="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"/>
+    	<property name="org.jboss.soa.esb.registry.factoryClass" value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/>
+    	<property name="org.jboss.soa.esb.registry.user" value="root"/>
+    	<property name="org.jboss.soa.esb.registry.password" value="root"/>
+    	<!-- the following parameter is scout specific to set the type of communication between scout and the UDDI (embedded, rmi, soap) -->
+    	<property name="org.jboss.soa.esb.scout.proxy.transportClass" value="org.apache.ws.scout.transport.LocalTransport"/>
+    	<property name="org.jboss.soa.esb.scout.proxy.uddiVersion" value="3.0"/>
+    	<property name="org.jboss.soa.esb.scout.proxy.uddiNameSpace" value="urn:uddi-org:api_v3"/>
+    	<!-- Organization Category to be used by this deployment. -->
+        <property name="org.jboss.soa.esb.registry.orgCategory" value="org.jboss.soa.esb.:category"/>
+    </properties>
+    <properties name="transports" depends="core">
+    	<property name="org.jboss.soa.esb.mail.smtp.host" value="localhost"/>
+    	<property name="org.jboss.soa.esb.mail.smtp.user" value="jbossesb"/>
+    	<property name="org.jboss.soa.esb.mail.smtp.password" value=""/>
+    	<property name="org.jboss.soa.esb.mail.smtp.port" value="25"/>
+    </properties>
+    <properties name="connection">
+    	<property name="min-pool-size" value="5"/>
+    	<property name="max-pool-size" value="10"/>
+    	<property name="blocking-timeout-millis" value="5000"/>
+    	<property name="abandoned-connection-timeout" value="10000"/>
+    	<property name="abandoned-connection-time-interval" value="30000"/>
+    </properties>
+    <properties name="dbstore">
+		<property name="org.jboss.soa.esb.persistence.db.connection.url" 	value="jdbc:hsqldb:hsql://localhost:9001/"/>
+		<property name="org.jboss.soa.esb.persistence.db.jdbc.driver" 		value="org.hsqldb.jdbcDriver"/>
+		<property name="org.jboss.soa.esb.persistence.db.user" 			value="sa"/>
+		<property name="org.jboss.soa.esb.persistence.db.pwd" 			value=""/>		
+		<property name="org.jboss.soa.esb.persistence.db.pool.initial.size"	value="2"/>
+		<property name="org.jboss.soa.esb.persistence.db.pool.min.size"	value="2"/>
+		<property name="org.jboss.soa.esb.persistence.db.pool.max.size"	value="5"/>
+		<!--table managed by pool to test for valid connections - created by pool automatically -->
+		<property name="org.jboss.soa.esb.persistence.db.pool.test.table"	value="pooltest"/>
+		<!-- # of milliseconds to timeout waiting for a connection from pool -->
+		<property name="org.jboss.soa.esb.persistence.db.pool.timeout.millis"	value="5000"/> 
+                <property name="org.jboss.soa.esb.persistence.db.conn.manager" value="org.jboss.internal.soa.esb.persistence.manager.StandaloneConnectionManager"/>
+    </properties>
+    <properties name="messagerouting">
+    	<property name="org.jboss.soa.esb.routing.cbrClass" value="org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter"/>
+    </properties>
+</esb>

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jndi.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jndi.properties	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/jndi.properties	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,5 @@
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.provider.url=jnp://localhost:1099
+java.naming.factory.url.pkgs=org.jboss.naming
+java.naming.factory.url.pkgs=org.jnp.interfaces
+

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/lib/drools-persistence-jpa-5.3.1.Final.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/lib/drools-persistence-jpa-5.3.1.Final.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/lib/jbpm-persistence-jpa-5.2.0.Final.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/lib/jbpm-persistence-jpa-5.2.0.Final.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/log4j.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/log4j.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/log4j.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Log4j Configuration                                                  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
+
+<!--
+   | For more configuration infromation and examples see the Jakarta Log4j
+   | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+   <!-- ============================== -->
+   <!-- Append messages to the console -->
+   <!-- ============================== -->
+
+   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+      <errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/>
+      <param name="Target" value="System.out"/>
+      <param name="Threshold" value="INFO"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
+      </layout>
+   </appender>
+
+   <!-- ================================= -->
+   <!-- Preserve messages in a local file -->
+   <!-- ================================= -->
+
+   <!-- A size based file rolling appender -->
+   <appender name="FILE" class="org.apache.log4j.RollingFileAppender">
+     <errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/>
+     <param name="File" value="./listener.log"/>
+     <param name="Append" value="false"/>
+     <param name="MaxFileSize" value="500KB"/>
+     <param name="MaxBackupIndex" value="1"/>
+
+     <layout class="org.apache.log4j.PatternLayout">
+       <param name="ConversionPattern" value="%d %-5p [%t][%c] %m%n"/>
+     </layout>	    
+   </appender>
+
+   <!-- ================ -->
+   <!-- Limit categories -->
+   <!-- ================ -->
+
+   <category name="org.jboss">
+      <priority value="WARN"/>
+   </category>
+   <category name="org.jboss.soa.esb">
+      <priority value="ERROR"/>
+   </category>
+   <category name="org.jboss.internal.soa.esb">
+      <priority value="ERROR"/>
+   </category>
+   <category name="org.apache">
+      <priority value="ERROR"/>
+   </category>
+   <category name="quickstart">
+      <priority value="DEBUG"/>
+   </category>
+   <!-- ======================= -->
+   <!-- Setup the Root category -->
+   <!-- ======================= -->
+
+   <root>
+      <appender-ref ref="CONSOLE"/>
+      <appender-ref ref="FILE"/>
+   </root>
+
+</log4j:configuration>

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/readme.txt	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/readme.txt	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,25 @@
+Overview:
+=========
+  The purpose of the bpm5processor quickstart sample is to demonstrate the
+  ability of the ESB to process an action on a single JBPM 5 process. 
+
+Running this quickstart:
+========================
+  Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts
+  and a more detailed descripton of the different ways to run the quickstarts.
+
+  This quickstart shows how to start, and then abort a process.   This 
+  quickstart uses the jBPM 5 evaluation demo, starts the process as
+  'krisv', and then aborts it.
+
+  The session and process ID information are stored within the message
+  context.
+  
+
+To Run:
+===========================
+  1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+  2. Open another command terminal window in this folder ("Window2"), type
+     'ant runtest'.
+  3. Switch back to Application Server console to see the output from the ESB
+  4. In this folder ("Window1"), type 'ant undeploy'.

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/MyJMSListenerAction.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/MyJMSListenerAction.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/MyJMSListenerAction.java	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.bpm5processor;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+
+public class MyJMSListenerAction extends AbstractActionLifecycle
+{
+    
+  protected ConfigTree	_config;
+	  
+  public MyJMSListenerAction(ConfigTree config) { _config = config; } 
+
+  
+  public Message displayMessage(Message message) throws Exception{
+		
+		  System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");		  		  
+		  System.out.println("Body: " + message.getBody().get()) ;
+		  System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
+		  return message; 
+        		
+	}
+    
+	
+}

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/test/SendEsbMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/test/SendEsbMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/test/SendEsbMessage.java	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,59 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.soa.esb.samples.quickstart.bpm5processor.test;
+
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.soa.esb.client.ServiceInvoker;
+
+/**
+ * Standalone class with to send ESB messages to a 'known' [category,name].
+ * <p/> arg0 - service category
+ * <br/>arg1 - service name
+ * <br/>arg2 - Text of message to send
+ * 
+ * @author <a href="mailto:schifest at heuristica.com.ar">schifest at heuristica.com.ar</a>
+ * @since Version 4.0
+ *
+ */
+public class SendEsbMessage 
+{
+    public static void main(String args[]) throws Exception
+    {
+//      Setting the ConnectionFactory such that it will use scout
+        System.setProperty("javax.xml.registry.ConnectionFactoryClass","org.apache.ws.scout.registry.ConnectionFactoryImpl");
+        
+    	if (args.length < 3)
+    	{
+    		System.out.println("Usage SendEsbMessage <category> <name> <text to send>");
+    	}
+    	
+    	Message esbMessage = MessageFactory.getInstance().getMessage();
+
+    	esbMessage.getBody().add(args[2]);
+    	
+        new ServiceInvoker(args[0], args[1]).deliverAsync(esbMessage);
+    	
+    }
+    
+}

Added: labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/test/SendJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/bpm5processor/src/org/jboss/soa/esb/samples/quickstart/bpm5processor/test/SendJMSMessage.java	2012-04-03 15:30:47 UTC (rev 37979)
@@ -0,0 +1,87 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.bpm5processor.test;
+
+import java.util.Properties;
+
+import javax.jms.JMSException;
+import javax.jms.ObjectMessage;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueSender;
+import javax.jms.QueueSession;
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+public class SendJMSMessage {
+    QueueConnection conn;
+    QueueSession session;
+    Queue que;
+    
+    
+    public void setupConnection() throws JMSException, NamingException
+    {
+        Properties properties1 = new Properties();
+		properties1.put(Context.INITIAL_CONTEXT_FACTORY,
+				"org.jnp.interfaces.NamingContextFactory");
+		properties1.put(Context.URL_PKG_PREFIXES,
+				"org.jboss.naming:org.jnp.interfaces");
+		properties1.put(Context.PROVIDER_URL, "jnp://localhost:1099");
+		InitialContext iniCtx = new InitialContext(properties1);
+
+    	Object tmp = iniCtx.lookup("ConnectionFactory");
+    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+    	conn = qcf.createQueueConnection();
+    	que = (Queue) iniCtx.lookup("queue/quickstart_bpm5processor_Request_gw");
+    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+    	conn.start();
+    	System.out.println("Connection Started");
+    }
+    
+    public void stop() throws JMSException 
+    { 
+        conn.stop();
+        session.close();
+        conn.close();
+    }
+    
+    public void sendAMessage(String msg) throws JMSException {
+    	
+        QueueSender send = session.createSender(que);        
+        ObjectMessage tm = session.createObjectMessage(msg);
+        
+        send.send(tm);        
+        send.close();
+    }
+       
+    
+    public static void main(String args[]) throws Exception
+    {        	    	
+    	SendJMSMessage sm = new SendJMSMessage();
+    	sm.setupConnection();
+    	sm.sendAMessage(args[0]); 
+    	sm.stop();
+    	
+    }
+    
+}

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/Evaluation.bpmn
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/Evaluation.bpmn	2012-04-03 04:00:56 UTC (rev 37978)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/Evaluation.bpmn	2012-04-03 15:30:47 UTC (rev 37979)
@@ -1,272 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?> 
-<definitions id="Definition"
-             targetNamespace="http://www.jboss.org/drools"
-             typeLanguage="http://www.java.com/javaTypes"
-             expressionLanguage="http://www.mvel.org/2.0"
-             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
-             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-             xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
-             xmlns:g="http://www.jboss.org/drools/flow/gpd"
-             xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
-             xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
-             xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
-             xmlns:tns="http://www.jboss.org/drools">
-
-  <itemDefinition id="_employeeItem" />
-  <itemDefinition id="_reasonItem" />
-  <itemDefinition id="_performanceItem" />
-  <itemDefinition id="_contentItem" />
-
-  <process processType="Private" isExecutable="true" id="com.sample.evaluation" name="Evaluation" tns:packageName="defaultPackage" >
-
-    <!-- process variables -->
-    <property id="employee" itemSubjectRef="_employeeItem"/>
-    <property id="reason" itemSubjectRef="_reasonItem"/>
-    <property id="performance" itemSubjectRef="_performanceItem"/>
-    <property id="content" itemSubjectRef="_contentItem"/>
-
-    <!-- nodes -->
-    <startEvent id="_1" name="Start" />
-    <userTask id="_2" name="Self Evaluation" >
-      <extensionElements>
-        <tns:onEntry-script scriptFormat="http://www.java.com/java">
-          <script>java.util.Map contentParam = new java.util.HashMap();
-contentParam.put("reason", reason);
-kcontext.setVariable("content", contentParam);</script>
-        </tns:onEntry-script>
-      </extensionElements>
-      <ioSpecification>
-        <dataInput id="_2_ContentInput" name="Content" />
-        <dataInput id="_2_CommentInput" name="Comment" />
-        <dataInput id="_2_SkippableInput" name="Skippable" />
-        <dataInput id="_2_TaskNameInput" name="TaskName" />
-        <dataOutput id="_2_performanceOutput" name="performance" />
-        <inputSet>
-          <dataInputRefs>_2_ContentInput</dataInputRefs>
-          <dataInputRefs>_2_CommentInput</dataInputRefs>
-          <dataInputRefs>_2_SkippableInput</dataInputRefs>
-          <dataInputRefs>_2_TaskNameInput</dataInputRefs>
-        </inputSet>
-        <outputSet>
-          <dataOutputRefs>_2_performanceOutput</dataOutputRefs>
-        </outputSet>
-      </ioSpecification>
-      <dataInputAssociation>
-        <sourceRef>content</sourceRef>
-        <targetRef>_2_ContentInput</targetRef>
-      </dataInputAssociation>
-      <dataInputAssociation>
-        <targetRef>_2_CommentInput</targetRef>
-        <assignment>
-          <from xsi:type="tFormalExpression">Please perform a self-evalutation.</from>
-          <to xsi:type="tFormalExpression">_2_CommentInput</to>
-        </assignment>
-      </dataInputAssociation>
-      <dataInputAssociation>
-        <targetRef>_2_SkippableInput</targetRef>
-        <assignment>
-          <from xsi:type="tFormalExpression">false</from>
-          <to xsi:type="tFormalExpression">_2_SkippableInput</to>
-        </assignment>
-      </dataInputAssociation>
-      <dataInputAssociation>
-        <targetRef>_2_TaskNameInput</targetRef>
-        <assignment>
-          <from xsi:type="tFormalExpression">Performance Evaluation</from>
-          <to xsi:type="tFormalExpression">_2_TaskNameInput</to>
-        </assignment>
-      </dataInputAssociation>
-      <dataOutputAssociation>
-        <sourceRef>_2_performanceOutput</sourceRef>
-        <targetRef>performance</targetRef>
-      </dataOutputAssociation>
-      <potentialOwner>
-        <resourceAssignmentExpression>
-          <formalExpression>#{employee}</formalExpression>
-        </resourceAssignmentExpression>
-      </potentialOwner>
-    </userTask>
-    <userTask id="_3" name="PM Evaluation" >
-      <extensionElements>
-        <tns:onEntry-script>
-          <script>java.util.Map contentParam = new java.util.HashMap();
-contentParam.put("reason", reason);
-contentParam.put("performance", performance);
-kcontext.setVariable("content", contentParam);</script>
-        </tns:onEntry-script>
-      </extensionElements>
-      <ioSpecification>
-        <dataInput id="_3_ContentInput" name="Content" />
-        <dataInput id="_3_CommentInput" name="Comment" />
-        <dataInput id="_3_SkippableInput" name="Skippable" />
-        <dataInput id="_3_TaskNameInput" name="TaskName" />
-        <inputSet>
-          <dataInputRefs>_3_ContentInput</dataInputRefs>
-          <dataInputRefs>_3_CommentInput</dataInputRefs>
-          <dataInputRefs>_3_SkippableInput</dataInputRefs>
-          <dataInputRefs>_3_TaskNameInput</dataInputRefs>
-        </inputSet>
-        <outputSet>
-        </outputSet>
-      </ioSpecification>
-      <dataInputAssociation>
-        <sourceRef>content</sourceRef>
-        <targetRef>_3_ContentInput</targetRef>
-      </dataInputAssociation>
-      <dataInputAssociation>
-        <targetRef>_3_CommentInput</targetRef>
-        <assignment>
-          <from xsi:type="tFormalExpression">You need to evaluate #{employee}.</from>
-          <to xsi:type="tFormalExpression">_3_CommentInput</to>
-        </assignment>
-      </dataInputAssociation>
-      <dataInputAssociation>
-        <targetRef>_3_SkippableInput</targetRef>
-        <assignment>
-          <from xsi:type="tFormalExpression">false</from>
-          <to xsi:type="tFormalExpression">_3_SkippableInput</to>
-        </assignment>
-      </dataInputAssociation>
-      <dataInputAssociation>
-        <targetRef>_3_TaskNameInput</targetRef>
-        <assignment>
-          <from xsi:type="tFormalExpression">Performance Evaluation</from>
-          <to xsi:type="tFormalExpression">_3_TaskNameInput</to>
-        </assignment>
-      </dataInputAssociation>
-      <potentialOwner>
-        <resourceAssignmentExpression>
-          <formalExpression>john</formalExpression>
-        </resourceAssignmentExpression>
-      </potentialOwner>
-    </userTask>
-    <userTask id="_4" name="HR Evaluation" >
-      <extensionElements>
-        <tns:onEntry-script scriptFormat="http://www.java.com/java">
-          <script>java.util.Map contentParam = new java.util.HashMap();
-contentParam.put("reason", reason);
-contentParam.put("performance", performance);
-kcontext.setVariable("content", contentParam);</script>
-        </tns:onEntry-script>
-      </extensionElements>
-      <ioSpecification>
-        <dataInput id="_4_ContentInput" name="Content" />
-        <dataInput id="_4_CommentInput" name="Comment" />
-        <dataInput id="_4_SkippableInput" name="Skippable" />
-        <dataInput id="_4_TaskNameInput" name="TaskName" />
-        <inputSet>
-          <dataInputRefs>_4_ContentInput</dataInputRefs>
-          <dataInputRefs>_4_CommentInput</dataInputRefs>
-          <dataInputRefs>_4_SkippableInput</dataInputRefs>
-          <dataInputRefs>_4_TaskNameInput</dataInputRefs>
-        </inputSet>
-        <outputSet>
-        </outputSet>
-      </ioSpecification>
-      <dataInputAssociation>
-        <sourceRef>content</sourceRef>
-        <targetRef>_4_ContentInput</targetRef>
-      </dataInputAssociation>
-      <dataInputAssociation>
-        <targetRef>_4_CommentInput</targetRef>
-        <assignment>
-          <from xsi:type="tFormalExpression">You need to evaluate #{employee}.</from>
-          <to xsi:type="tFormalExpression">_4_CommentInput</to>
-        </assignment>
-      </dataInputAssociation>
-      <dataInputAssociation>
-        <targetRef>_4_SkippableInput</targetRef>
-        <assignment>
-          <from xsi:type="tFormalExpression">false</from>
-          <to xsi:type="tFormalExpression">_4_SkippableInput</to>
-        </assignment>
-      </dataInputAssociation>
-      <dataInputAssociation>
-        <targetRef>_4_TaskNameInput</targetRef>
-        <assignment>
-          <from xsi:type="tFormalExpression">Performance Evaluation</from>
-          <to xsi:type="tFormalExpression">_4_TaskNameInput</to>
-        </assignment>
-      </dataInputAssociation>
-      <potentialOwner>
-        <resourceAssignmentExpression>
-          <formalExpression>mary</formalExpression>
-        </resourceAssignmentExpression>
-      </potentialOwner>
-    </userTask>
-    <parallelGateway id="_5" name="Gateway" gatewayDirection="Diverging" />
-    <parallelGateway id="_6" name="Gateway" gatewayDirection="Converging" />
-    <endEvent id="_7" name="End" >
-        <terminateEventDefinition/>
-    </endEvent>
-
-    <!-- connections -->
-    <sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" />
-    <sequenceFlow id="_5-_3" sourceRef="_5" targetRef="_3" />
-    <sequenceFlow id="_5-_4" sourceRef="_5" targetRef="_4" />
-    <sequenceFlow id="_2-_5" sourceRef="_2" targetRef="_5" />
-    <sequenceFlow id="_4-_6" sourceRef="_4" targetRef="_6" />
-    <sequenceFlow id="_3-_6" sourceRef="_3" targetRef="_6" />
-    <sequenceFlow id="_6-_7" sourceRef="_6" targetRef="_7" />
-
-  </process>
-
-  <bpmndi:BPMNDiagram>
-    <bpmndi:BPMNPlane bpmnElement="com.sample.evaluation" >
-      <bpmndi:BPMNShape bpmnElement="_1" >
-        <dc:Bounds x="16" y="56" width="48" height="48" />
-      </bpmndi:BPMNShape>
-      <bpmndi:BPMNShape bpmnElement="_2" >
-        <dc:Bounds x="96" y="56" width="135" height="48" />
-      </bpmndi:BPMNShape>
-      <bpmndi:BPMNShape bpmnElement="_3" >
-        <dc:Bounds x="344" y="96" width="136" height="48" />
-      </bpmndi:BPMNShape>
-      <bpmndi:BPMNShape bpmnElement="_4" >
-        <dc:Bounds x="344" y="16" width="136" height="48" />
-      </bpmndi:BPMNShape>
-      <bpmndi:BPMNShape bpmnElement="_5" >
-        <dc:Bounds x="263" y="56" width="48" height="48" />
-      </bpmndi:BPMNShape>
-      <bpmndi:BPMNShape bpmnElement="_6" >
-        <dc:Bounds x="512" y="56" width="48" height="48" />
-      </bpmndi:BPMNShape>
-      <bpmndi:BPMNShape bpmnElement="_7" >
-        <dc:Bounds x="593" y="56" width="48" height="48" />
-      </bpmndi:BPMNShape>
-      <bpmndi:BPMNEdge bpmnElement="_1-_2" >
-        <di:waypoint x="40" y="80" />
-        <di:waypoint x="163" y="80" />
-      </bpmndi:BPMNEdge>
-      <bpmndi:BPMNEdge bpmnElement="_5-_3" >
-        <di:waypoint x="287" y="80" />
-        <di:waypoint x="287" y="120" />
-        <di:waypoint x="412" y="120" />
-      </bpmndi:BPMNEdge>
-      <bpmndi:BPMNEdge bpmnElement="_5-_4" >
-        <di:waypoint x="287" y="80" />
-        <di:waypoint x="287" y="40" />
-        <di:waypoint x="412" y="40" />
-      </bpmndi:BPMNEdge>
-      <bpmndi:BPMNEdge bpmnElement="_2-_5" >
-        <di:waypoint x="163" y="80" />
-        <di:waypoint x="287" y="80" />
-      </bpmndi:BPMNEdge>
-      <bpmndi:BPMNEdge bpmnElement="_4-_6" >
-        <di:waypoint x="412" y="40" />
-        <di:waypoint x="536" y="40" />
-        <di:waypoint x="536" y="80" />
-      </bpmndi:BPMNEdge>
-      <bpmndi:BPMNEdge bpmnElement="_3-_6" >
-        <di:waypoint x="412" y="120" />
-        <di:waypoint x="537" y="120" />
-        <di:waypoint x="536" y="80" />
-      </bpmndi:BPMNEdge>
-      <bpmndi:BPMNEdge bpmnElement="_6-_7" >
-        <di:waypoint x="536" y="80" />
-        <di:waypoint x="617" y="80" />
-      </bpmndi:BPMNEdge>
-    </bpmndi:BPMNPlane>
-  </bpmndi:BPMNDiagram>
-
-</definitions>
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/build.xml	2012-04-03 04:00:56 UTC (rev 37978)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/build.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -1,20 +1,15 @@
-<project name="Quickstart_bpm5processor" default="run" basedir=".">
+<project name="Quickstart_helloworld" default="run" basedir=".">
 	
 	<description> 
 		${ant.project.name}
 		${line.separator}
 	</description>
-
-	<!--
-        <property name="additional.deploys" value="Evaluation.bpmn, META-INF/persistence.xml, META-INF/JBPMorm.xml, META-INF/hibernate.cfg.xml"/>
-	-->
-	<property name="additional.deploys" value="Evaluation.bpmn"/>
 	
 	<!-- Import the base Ant build script... -->
 	<import file="../conf/base-build.xml"/>
 	
 	<target name="runtest" depends="compile" 
-		description="sends a JMS message to queue/quickstart_bpm5processor_Request_gw">
+		description="sends a JMS message to queue/quickstart_helloworld_Request_gw">
 		<echo>Runs Test JMS Sender</echo>
 
 		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMessage" failonerror="true">

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/deployment.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/deployment.xml	2012-04-03 04:00:56 UTC (rev 37978)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/deployment.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -1,7 +1,5 @@
 <?xml version="1.0"?>
 <jbossesb-deployment>
-  <jmsQueue>quickstart_bpm5processor_Request_esb</jmsQueue>
-  <jmsQueue>quickstart_bpm5processor_Request_gw</jmsQueue>
-  <depends>jboss.esb:deployment=jbpm5.esb</depends>
-  <depends>jboss.jca:name=jboss/datasources/jbpm5DS,service=DataSourceBinding</depends>
+  <jmsQueue>quickstart_helloworld_Request_esb</jmsQueue>
+  <jmsQueue>quickstart_helloworld_Request_gw</jmsQueue>
 </jbossesb-deployment>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/hornetq-jms.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/hornetq-jms.xml	2012-04-03 04:00:56 UTC (rev 37978)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/hornetq-jms.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -1,15 +1,9 @@
 <?xml version="1.0"?>
 <configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
-  <queue name="quickstart_bpm5processor_Request_esb">
-    <entry name="queue/quickstart_bpm5processor_Request_esb"/>
+  <queue name="quickstart_helloworld_Request_esb">
+    <entry name="queue/quickstart_helloworld_Request_esb"/>
   </queue>
-  <queue name="quickstart_bpm5processor_Request_gw">
-    <entry name="queue/quickstart_bpm5processor_Request_gw"/>
+  <queue name="quickstart_helloworld_Request_gw">
+    <entry name="queue/quickstart_helloworld_Request_gw"/>
   </queue>
-  <queue name="quickstart_bpm5processor_Request_esb">
-    <entry name="queue/quickstart_bpm5processor_Request_abort"/>
-  </queue>
-  <queue name="quickstart_bpm5processor_Request_esb">
-    <entry name="queue/quickstart_bpm5processor_Request_signal"/>
-  </queue>
 </configuration>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service.xml	2012-04-03 04:00:56 UTC (rev 37978)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -1,31 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <server>
   <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_esb"
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb"
     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.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_gw"
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_gw"
     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.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_abort"
-    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.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_signal"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-        <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-        <depends>jboss.messaging:service=PostOffice</depends>
-  </mbean>
-
-
 </server>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbmq-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbmq-queue-service.xml	2012-04-03 04:00:56 UTC (rev 37978)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbmq-queue-service.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -1,27 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <server>
   <mbean code="org.jboss.mq.server.jmx.Queue"
-    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_esb">
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb">
     <depends optional-attribute-name="DestinationManager">
       jboss.mq:service=DestinationManager
     </depends>
   </mbean>
   <mbean code="org.jboss.mq.server.jmx.Queue"
-    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_gw">
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_gw">
     <depends optional-attribute-name="DestinationManager">
       jboss.mq:service=DestinationManager
     </depends>
   </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_abort">
-    <depends optional-attribute-name="DestinationManager">
-      jboss.mq:service=DestinationManager
-    </depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpm5processor_Request_signal">
-    <depends optional-attribute-name="DestinationManager">
-      jboss.mq:service=DestinationManager
-    </depends>
-  </mbean>
 </server>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jboss-esb.xml	2012-04-03 04:00:56 UTC (rev 37978)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jboss-esb.xml	2012-04-03 15:30:47 UTC (rev 37979)
@@ -9,31 +9,16 @@
               <jms-bus busid="quickstartGwChannel">
                   <jms-message-filter
                       dest-type="QUEUE"
-                      dest-name="queue/quickstart_bpm5processor_Request_gw"
+                      dest-name="queue/quickstart_helloworld_Request_gw"
                    />
               </jms-bus>
               <jms-bus busid="quickstartEsbChannel">
                   <jms-message-filter
                       dest-type="QUEUE"
-                      dest-name="queue/quickstart_bpm5processor_Request_esb"
+                      dest-name="queue/quickstart_helloworld_Request_esb"
                   />
               </jms-bus>
 
-              <jms-bus busid="quickstartAbortChannel">
-                  <jms-message-filter
-                      dest-type="QUEUE"
-                      dest-name="queue/quickstart_bpm5processor_Request_abort"
-                  />
-              </jms-bus>
-
-              <jms-bus busid="quickstartSignalChannel">
-                  <jms-message-filter
-                      dest-type="QUEUE"
-                      dest-name="queue/quickstart_bpm5processor_Request_signal"
-                  />
-              </jms-bus>
-
-
           </jms-provider>
       </providers>
       
@@ -52,53 +37,15 @@
                 />
             </listeners>
             <actions mep="OneWay">
+                   <action name="action1" 
+                   	class="org.jboss.soa.esb.samples.quickstart.helloworld.MyJMSListenerAction" 
+                   	process="displayMessage" 
+                   	/>      
                     <action name="action2" class="org.jboss.soa.esb.actions.SystemPrintln">
                       <property name="printfull" value="false"/>
                     </action>
-
-		   <action name="jbpm5" class="org.jboss.soa.esb.services.jbpm5.actions.Bpm5Processor">
-	              <property name="process-definition-name" value="Evaluation.bpmn"/>
-                      <property name="process-id" value="com.sample.evaluation"/>
-                      <property name="process-action" value="startProcess"/>
-                      <property name="esbToBpmParams">
-                        <mapping esb="employee" bpm="employee" value="krisv"/>
-                        <mapping esb="reason" bpm="reason" value="Yearly performance review"/>
-                      </property>
-
-		   </action>
-
-                   <action name="routeAction" class="org.jboss.soa.esb.actions.StaticRouter">
-                       <property name="destinations">
-                           <route-to service-category="FirstServiceESB" service-name="AbortListener"/>
-                      </property>
-                   </action>
-             </actions>
-	</service>
-        <service
-                category="FirstServiceESB"
-                name="AbortListener"
-                description="Hello World">
-            <listeners>
-                <jms-listener name="helloWorld"
-                              busidref="quickstartAbortChannel"
-                />
-            </listeners>
-            <actions mep="OneWay">
-                   <action name="jbpm5-2" class="org.jboss.soa.esb.services.jbpm5.actions.Bpm5Processor">
-                      <property name="process-definition-name" value="Evaluation.bpmn"/>
-                      <property name="process-id" value="com.sample.evaluation"/>
-                      <property name="process-action" value="abortProcessInstance"/>
-                      <property name="esbToBpmParams">
-                        <mapping esb="employee" bpm="employee" value="krisv"/>
-                        <mapping esb="reason" bpm="reason" value="Yearly performance review"/>
-                      </property>
-
-                   </action>
-
-                   <action name="action3" class="org.jboss.soa.esb.actions.SystemPrintln">
-                      <property name="printfull" value="true"/>
-                    </action>
-
+                    <!-- The next action is for Continuous Integration testing -->
+                    <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
             </actions>
         </service>
       </services>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/readme.txt	2012-04-03 04:00:56 UTC (rev 37978)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/readme.txt	2012-04-03 15:30:47 UTC (rev 37979)
@@ -1,21 +1,14 @@
 Overview:
 =========
-  The purpose of the bpm5processor quickstart sample is to demonstrate the
-  ability of the ESB to process an action on a single JBPM 5 process. 
+  The purpose of the helloworld quickstart sample is to prove that the ESB is
+  is properly configured and happy.  As well as to demonstrate the needed
+  minimal files to make a basic ESB component execute.
 
 Running this quickstart:
 ========================
   Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts
   and a more detailed descripton of the different ways to run the quickstarts.
 
-  This quickstart shows how to start, and then abort a process.   This 
-  quickstart uses the jBPM 5 evaluation demo, starts the process as
-  'krisv', and then aborts it.
-
-  The session and process ID information are stored within the message
-  context.
-  
-
 To Run:
 ===========================
   1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.java	2012-04-03 04:00:56 UTC (rev 37978)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.java	2012-04-03 15:30:47 UTC (rev 37979)
@@ -46,13 +46,13 @@
 				"org.jnp.interfaces.NamingContextFactory");
 		properties1.put(Context.URL_PKG_PREFIXES,
 				"org.jboss.naming:org.jnp.interfaces");
-		properties1.put(Context.PROVIDER_URL, "jnp://localhost:1099");
+		properties1.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
 		InitialContext iniCtx = new InitialContext(properties1);
 
     	Object tmp = iniCtx.lookup("ConnectionFactory");
     	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
     	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_bpm5processor_Request_gw");
+    	que = (Queue) iniCtx.lookup("queue/quickstart_helloworld_Request_gw");
     	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
     	conn.start();
     	System.out.println("Connection Started");



More information about the jboss-svn-commits mailing list