[overlord-commits] Overlord SVN: r792 - in cdl/trunk/samples/jbossesb/purchasing: store and 12 other directories.

overlord-commits at lists.jboss.org overlord-commits at lists.jboss.org
Fri Aug 21 03:55:38 EDT 2009


Author: jeff.yuchang
Date: 2009-08-21 03:55:37 -0400 (Fri, 21 Aug 2009)
New Revision: 792

Added:
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/purchasegoods/
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/purchasegoods/store/
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/purchasegoods/store/PurchaseGoodsProcess.java
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/MemoryEPRStorage.java
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/SetBuyFailedMessageAction.java
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/SetBuyResponseMessageAction.java
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/SetCreditCheckRequestMessageAction.java
   cdl/trunk/samples/jbossesb/purchasing/store/src/scripts/
   cdl/trunk/samples/jbossesb/purchasing/store/src/scripts/esb-assembly.xml
Removed:
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/com/
Modified:
   cdl/trunk/samples/jbossesb/purchasing/models/PurchaseGoods.cdm
   cdl/trunk/samples/jbossesb/purchasing/store/pom.xml
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/deployment.xml
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/jboss-esb.xml
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/jbm-queue-service.xml
   cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/jbmq-queue-service.xml
Log:
* SOAG-114, package renaming.


Modified: cdl/trunk/samples/jbossesb/purchasing/models/PurchaseGoods.cdm
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/models/PurchaseGoods.cdm	2009-08-21 06:29:19 UTC (rev 791)
+++ cdl/trunk/samples/jbossesb/purchasing/models/PurchaseGoods.cdm	2009-08-21 07:55:37 UTC (rev 792)
@@ -1,79 +1,79 @@
-<?xml version="1.0" encoding="Cp1252"?>
-<org.pi4soa.cdl:Package xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:org.pi4soa.cdl="http:///org/pi4soa/cdl.ecore" description="The choreography description for PurchaseGoods" name="PurchaseGoods" author="gary" version="0.1" targetNamespace="http://www.pi4soa.org/purchase">
-  <typeDefinitions>
-    <nameSpaces description="Target Namespace for PurchaseGoods" prefix="tns" uRI="http://www.pi4soa.org/purchase"/>
-    <nameSpaces description="XML Schema Namespace" prefix="xsd" uRI="http://www.w3.org/2001/XMLSchema"/>
-    <nameSpaces prefix="pur" uRI="java:com.acme.purchasing"/>
-    <informationTypes description="This is the information type BuyConfirmed" name="BuyConfirmed" elementName="BuyConfirmed"/>
-    <informationTypes description="This is the information type BuyFailed" name="BuyFailed" elementName="BuyFailed"/>
-    <informationTypes description="This is the information type BuyRequest" name="BuyRequest" typeName="" elementName="BuyRequest"/>
-    <informationTypes description="This is the information type CreditCheckInvalid" name="CreditCheckInvalid" elementName="CreditCheckInvalid"/>
-    <informationTypes description="This is the information type CreditCheckOk" name="CreditCheckOk" elementName="CreditCheckOk"/>
-    <informationTypes description="This is the information type CreditCheckRequest" name="CreditCheckRequest" elementName="CreditCheckRequest"/>
-    <informationTypes description="This is the information type IDType" name="IDType" typeName="xsd:string"/>
-    <informationTypes description="This is the information type URITokenType" name="URITokenType" typeName="xsd:anyURI"/>
-    <tokens description="This is the token ID" name="ID" informationType="//@typeDefinitions/@informationTypes.6"/>
-    <tokens description="This is the token URIToken" name="URIToken" informationType="//@typeDefinitions/@informationTypes.7"/>
-    <tokenLocators description="This is the token locator BuyFailedIDLocator" token="//@typeDefinitions/@tokens.0" informationType="//@typeDefinitions/@informationTypes.1" query="//@id" name="BuyFailedIDLocator"/>
-    <tokenLocators description="This is the token locator BuyRequestIDLocator" token="//@typeDefinitions/@tokens.0" informationType="//@typeDefinitions/@informationTypes.2" query="//@id" name="BuyRequestIDLocator"/>
-    <tokenLocators description="This is the token locator BuyResponseIDLocator" token="//@typeDefinitions/@tokens.0" informationType="//@typeDefinitions/@informationTypes.0" query="//@id" name="BuyResponseIDLocator"/>
-    <tokenLocators description="This is the token locator CreditCheckInvalidIDLocator" token="//@typeDefinitions/@tokens.0" informationType="//@typeDefinitions/@informationTypes.3" query="//@id" name="CreditCheckInvalidIDLocator"/>
-    <tokenLocators description="This is the token locator CreditCheckRequestIDLocator" token="//@typeDefinitions/@tokens.0" informationType="//@typeDefinitions/@informationTypes.5" query="//@id" name="CreditCheckRequestIDLocator"/>
-    <tokenLocators description="This is the token locator CreditCheckResponseIDLocator" token="//@typeDefinitions/@tokens.0" informationType="//@typeDefinitions/@informationTypes.4" query="//@id" name="CreditCheckResponseIDLocator"/>
-    <roleTypes description="This is the role type Buyer" name="Buyer">
-      <behaviors description="This is the behavior BuyerBehavior" name="BuyerBehavior"/>
-    </roleTypes>
-    <roleTypes description="This is the role type CreditAgency" name="CreditAgency">
-      <behaviors description="This is the behavior CreditAgencyBehavior" name="CreditAgencyBehavior"/>
-    </roleTypes>
-    <roleTypes description="This is the role type Store" name="Store">
-      <behaviors description="This is the behavior StoreBehavior" name="StoreBehavior"/>
-    </roleTypes>
-    <relationshipTypes description="Relationship between Buyer and Store" name="BuyerToStoreRel" firstRoleType="//@typeDefinitions/@roleTypes.0" secondRoleType="//@typeDefinitions/@roleTypes.2"/>
-    <relationshipTypes description="Relationship between Store and CreditAgency" name="StoreToCreditAgencyRel" firstRoleType="//@typeDefinitions/@roleTypes.2" secondRoleType="//@typeDefinitions/@roleTypes.1"/>
-    <participantTypes description="This is the participant type Buyer" name="Buyer" roleTypes="//@typeDefinitions/@roleTypes.0">
-      <semanticAnnotations annotation="overlord.cdl.samples.Purchasing at Buyer" name="conversationType"/>
-    </participantTypes>
-    <participantTypes description="This is the participant type CreditAgency" name="CreditAgency" roleTypes="//@typeDefinitions/@roleTypes.1">
-      <semanticAnnotations annotation="overlord.cdl.samples.Common at CreditAgency" name="conversationType"/>
-    </participantTypes>
-    <participantTypes description="This is the participant type Store" name="Store" roleTypes="//@typeDefinitions/@roleTypes.2">
-      <semanticAnnotations annotation="overlord.cdl.samples.Purchasing at Store" name="conversationType"/>
-    </participantTypes>
-    <channelTypes description="This is the channel type CreditAgencyChannelType" name="CreditAgencyChannelType" referenceToken="//@typeDefinitions/@tokens.1" roleType="//@typeDefinitions/@roleTypes.1">
-      <identities description="ID" tokens="//@typeDefinitions/@tokens.0"/>
-    </channelTypes>
-    <channelTypes description="This is the channel type StoreChannelType" name="StoreChannelType" referenceToken="//@typeDefinitions/@tokens.1" roleType="//@typeDefinitions/@roleTypes.2">
-      <identities description="ID" tokens="//@typeDefinitions/@tokens.0"/>
-    </channelTypes>
-  </typeDefinitions>
-  <choreographies description="Choreography flow for the PurchaseGoods process" name="PurchaseGoodsProcess" root="true">
-    <variableDefinitions description="Channel to facilitate interaction to CreditAgency" name="CreditAgencyChannel" type="//@typeDefinitions/@channelTypes.0"/>
-    <variableDefinitions description="Channel to facilitate interaction to Supplier" name="SupplierChannel" type="//@typeDefinitions/@channelTypes.1"/>
-    <variableDefinitions description="This is the variable buy" name="buy" type="//@typeDefinitions/@informationTypes.2"/>
-    <activities xsi:type="org.pi4soa.cdl:Interaction" name="BuyRequest" operation="buy" channelVariable="//@choreographies.0/@variableDefinitions.1" relationship="//@typeDefinitions/@relationshipTypes.0">
-      <exchangeDetails description="This is the exchange details for the request exchange associated with interaction BuyRequest" name="BuyRequestRequestExchange" type="//@typeDefinitions/@informationTypes.2"/>
-    </activities>
-    <activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheck" operation="checkCredit" channelVariable="//@choreographies.0/@variableDefinitions.0" relationship="//@typeDefinitions/@relationshipTypes.1">
-      <exchangeDetails description="This is the exchange details for the request exchange associated with interaction CreditCheck" name="CreditCheckRequestExchange" type="//@typeDefinitions/@informationTypes.5"/>
-    </activities>
-    <activities xsi:type="org.pi4soa.cdl:Choice" description="Is credit ok?">
-      <activities xsi:type="org.pi4soa.cdl:Sequence" description="Credit Valid">
-        <activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheckOk" operation="checkCredit" channelVariable="//@choreographies.0/@variableDefinitions.0" relationship="//@typeDefinitions/@relationshipTypes.1">
-          <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheckOk" name="CreditCheckOkRespondExchange" type="//@typeDefinitions/@informationTypes.4" action="Respond"/>
-        </activities>
-        <activities xsi:type="org.pi4soa.cdl:Interaction" name="BuyConfirmed" operation="buy" channelVariable="//@choreographies.0/@variableDefinitions.1" relationship="//@typeDefinitions/@relationshipTypes.0">
-          <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction BuyConfirmed" name="BuyConfirmedRespondExchange" type="//@typeDefinitions/@informationTypes.0" action="Respond"/>
-        </activities>
-      </activities>
-      <activities xsi:type="org.pi4soa.cdl:Sequence" description="Credit Invalid">
-        <activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheckFailed" operation="checkCredit" channelVariable="//@choreographies.0/@variableDefinitions.0" relationship="//@typeDefinitions/@relationshipTypes.1">
-          <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheckFailed" name="CreditCheckFailedRespondExchange" type="//@typeDefinitions/@informationTypes.3" action="Respond" faultName="CreditCheckFailed"/>
-        </activities>
-        <activities xsi:type="org.pi4soa.cdl:Interaction" name="BuyFailed" operation="buy" channelVariable="//@choreographies.0/@variableDefinitions.1" relationship="//@typeDefinitions/@relationshipTypes.0">
-          <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction BuyFailed" name="BuyFailedRespondExchange" type="//@typeDefinitions/@informationTypes.1" action="Respond" faultName="BuyFailed"/>
-        </activities>
-      </activities>
-    </activities>
-  </choreographies>
-</org.pi4soa.cdl:Package>
+<?xml version="1.0" encoding="UTF-8"?>
+<org.pi4soa.cdl:Package xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:org.pi4soa.cdl="http:///org/pi4soa/cdl.ecore" description="The choreography description for PurchaseGoods" name="PurchaseGoods" author="gary" version="0.1" targetNamespace="http://www.jboss.org/savara/examples">
+  <typeDefinitions>
+    <nameSpaces description="Target Namespace for PurchaseGoods" prefix="tns" uRI="http://www.jboss.org/savara/examples"/>
+    <nameSpaces description="XML Schema Namespace" prefix="xsd" uRI="http://www.w3.org/2001/XMLSchema"/>
+    <nameSpaces prefix="pur" uRI="java:org.jboss.savara.examples.purchasing"/>
+    <informationTypes description="This is the information type BuyConfirmed" name="BuyConfirmed" elementName="BuyConfirmed"/>
+    <informationTypes description="This is the information type BuyFailed" name="BuyFailed" elementName="BuyFailed"/>
+    <informationTypes description="This is the information type BuyRequest" name="BuyRequest" typeName="" elementName="BuyRequest"/>
+    <informationTypes description="This is the information type CreditCheckInvalid" name="CreditCheckInvalid" elementName="CreditCheckInvalid"/>
+    <informationTypes description="This is the information type CreditCheckOk" name="CreditCheckOk" elementName="CreditCheckOk"/>
+    <informationTypes description="This is the information type CreditCheckRequest" name="CreditCheckRequest" elementName="CreditCheckRequest"/>
+    <informationTypes description="This is the information type IDType" name="IDType" typeName="xsd:string"/>
+    <informationTypes description="This is the information type URITokenType" name="URITokenType" typeName="xsd:anyURI"/>
+    <tokens description="This is the token ID" name="ID" informationType="//@typeDefinitions/@informationTypes.6"/>
+    <tokens description="This is the token URIToken" name="URIToken" informationType="//@typeDefinitions/@informationTypes.7"/>
+    <tokenLocators description="This is the token locator BuyFailedIDLocator" token="//@typeDefinitions/@tokens.0" informationType="//@typeDefinitions/@informationTypes.1" query="//@id" name="BuyFailedIDLocator"/>
+    <tokenLocators description="This is the token locator BuyRequestIDLocator" token="//@typeDefinitions/@tokens.0" informationType="//@typeDefinitions/@informationTypes.2" query="//@id" name="BuyRequestIDLocator"/>
+    <tokenLocators description="This is the token locator BuyResponseIDLocator" token="//@typeDefinitions/@tokens.0" informationType="//@typeDefinitions/@informationTypes.0" query="//@id" name="BuyResponseIDLocator"/>
+    <tokenLocators description="This is the token locator CreditCheckInvalidIDLocator" token="//@typeDefinitions/@tokens.0" informationType="//@typeDefinitions/@informationTypes.3" query="//@id" name="CreditCheckInvalidIDLocator"/>
+    <tokenLocators description="This is the token locator CreditCheckRequestIDLocator" token="//@typeDefinitions/@tokens.0" informationType="//@typeDefinitions/@informationTypes.5" query="//@id" name="CreditCheckRequestIDLocator"/>
+    <tokenLocators description="This is the token locator CreditCheckResponseIDLocator" token="//@typeDefinitions/@tokens.0" informationType="//@typeDefinitions/@informationTypes.4" query="//@id" name="CreditCheckResponseIDLocator"/>
+    <roleTypes description="This is the role type Buyer" name="Buyer">
+      <behaviors description="This is the behavior BuyerBehavior" name="BuyerBehavior"/>
+    </roleTypes>
+    <roleTypes description="This is the role type CreditAgency" name="CreditAgency">
+      <behaviors description="This is the behavior CreditAgencyBehavior" name="CreditAgencyBehavior"/>
+    </roleTypes>
+    <roleTypes description="This is the role type Store" name="Store">
+      <behaviors description="This is the behavior StoreBehavior" name="StoreBehavior"/>
+    </roleTypes>
+    <relationshipTypes description="Relationship between Buyer and Store" name="BuyerToStoreRel" firstRoleType="//@typeDefinitions/@roleTypes.0" secondRoleType="//@typeDefinitions/@roleTypes.2"/>
+    <relationshipTypes description="Relationship between Store and CreditAgency" name="StoreToCreditAgencyRel" firstRoleType="//@typeDefinitions/@roleTypes.2" secondRoleType="//@typeDefinitions/@roleTypes.1"/>
+    <participantTypes description="This is the participant type Buyer" name="Buyer" roleTypes="//@typeDefinitions/@roleTypes.0">
+      <semanticAnnotations annotation="savara.samples.Purchasing at Buyer" name="conversationType"/>
+    </participantTypes>
+    <participantTypes description="This is the participant type CreditAgency" name="CreditAgency" roleTypes="//@typeDefinitions/@roleTypes.1">
+      <semanticAnnotations annotation="savara.samples.Common at CreditAgency" name="conversationType"/>
+    </participantTypes>
+    <participantTypes description="This is the participant type Store" name="Store" roleTypes="//@typeDefinitions/@roleTypes.2">
+      <semanticAnnotations annotation="savara.samples.Purchasing at Store" name="conversationType"/>
+    </participantTypes>
+    <channelTypes description="This is the channel type CreditAgencyChannelType" name="CreditAgencyChannelType" referenceToken="//@typeDefinitions/@tokens.1" roleType="//@typeDefinitions/@roleTypes.1">
+      <identities description="ID" tokens="//@typeDefinitions/@tokens.0"/>
+    </channelTypes>
+    <channelTypes description="This is the channel type StoreChannelType" name="StoreChannelType" referenceToken="//@typeDefinitions/@tokens.1" roleType="//@typeDefinitions/@roleTypes.2">
+      <identities description="ID" tokens="//@typeDefinitions/@tokens.0"/>
+    </channelTypes>
+  </typeDefinitions>
+  <choreographies description="Choreography flow for the PurchaseGoods process" name="PurchaseGoodsProcess" root="true">
+    <variableDefinitions description="Channel to facilitate interaction to CreditAgency" name="CreditAgencyChannel" type="//@typeDefinitions/@channelTypes.0"/>
+    <variableDefinitions description="Channel to facilitate interaction to Supplier" name="SupplierChannel" type="//@typeDefinitions/@channelTypes.1"/>
+    <variableDefinitions description="This is the variable buy" name="buy" type="//@typeDefinitions/@informationTypes.2"/>
+    <activities xsi:type="org.pi4soa.cdl:Interaction" name="BuyRequest" operation="buy" channelVariable="//@choreographies.0/@variableDefinitions.1" relationship="//@typeDefinitions/@relationshipTypes.0">
+      <exchangeDetails description="This is the exchange details for the request exchange associated with interaction BuyRequest" name="BuyRequestRequestExchange" type="//@typeDefinitions/@informationTypes.2"/>
+    </activities>
+    <activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheck" operation="checkCredit" channelVariable="//@choreographies.0/@variableDefinitions.0" relationship="//@typeDefinitions/@relationshipTypes.1">
+      <exchangeDetails description="This is the exchange details for the request exchange associated with interaction CreditCheck" name="CreditCheckRequestExchange" type="//@typeDefinitions/@informationTypes.5"/>
+    </activities>
+    <activities xsi:type="org.pi4soa.cdl:Choice" description="Is credit ok?">
+      <activities xsi:type="org.pi4soa.cdl:Sequence" description="Credit Valid">
+        <activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheckOk" operation="checkCredit" channelVariable="//@choreographies.0/@variableDefinitions.0" relationship="//@typeDefinitions/@relationshipTypes.1">
+          <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheckOk" name="CreditCheckOkRespondExchange" type="//@typeDefinitions/@informationTypes.4" action="Respond"/>
+        </activities>
+        <activities xsi:type="org.pi4soa.cdl:Interaction" name="BuyConfirmed" operation="buy" channelVariable="//@choreographies.0/@variableDefinitions.1" relationship="//@typeDefinitions/@relationshipTypes.0">
+          <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction BuyConfirmed" name="BuyConfirmedRespondExchange" type="//@typeDefinitions/@informationTypes.0" action="Respond"/>
+        </activities>
+      </activities>
+      <activities xsi:type="org.pi4soa.cdl:Sequence" description="Credit Invalid">
+        <activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheckFailed" operation="checkCredit" channelVariable="//@choreographies.0/@variableDefinitions.0" relationship="//@typeDefinitions/@relationshipTypes.1">
+          <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheckFailed" name="CreditCheckFailedRespondExchange" type="//@typeDefinitions/@informationTypes.3" action="Respond" faultName="CreditCheckFailed"/>
+        </activities>
+        <activities xsi:type="org.pi4soa.cdl:Interaction" name="BuyFailed" operation="buy" channelVariable="//@choreographies.0/@variableDefinitions.1" relationship="//@typeDefinitions/@relationshipTypes.0">
+          <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction BuyFailed" name="BuyFailedRespondExchange" type="//@typeDefinitions/@informationTypes.1" action="Respond" faultName="BuyFailed"/>
+        </activities>
+      </activities>
+    </activities>
+  </choreographies>
+</org.pi4soa.cdl:Package>

Modified: cdl/trunk/samples/jbossesb/purchasing/store/pom.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/pom.xml	2009-08-21 06:29:19 UTC (rev 791)
+++ cdl/trunk/samples/jbossesb/purchasing/store/pom.xml	2009-08-21 07:55:37 UTC (rev 792)
@@ -4,9 +4,9 @@
 	<modelVersion>4.0.0</modelVersion>
 	<groupId>org.jboss.savara.samples</groupId>
 	<artifactId>jbossesb-purchasing</artifactId>
-	<packaging>jboss-esb</packaging>
+	<packaging>jar</packaging>
 	<name>Savara::Samples::Purchasing</name>
-	<url>http://www.jboss.org/overlord</url>
+	<url>http://www.jboss.org/savara</url>
 	
 	<parent>
 		<groupId>org.jboss.savara</groupId>
@@ -18,13 +18,11 @@
 			<dependency>
 				<groupId>log4j</groupId>
 				<artifactId>log4j</artifactId>
-				<version>${log4j.version}</version>
 				<scope>provided</scope>
 			</dependency>
 			<dependency>
-				<groupId>org.jboss.savara.runtime</groupId>
-				<artifactId>jbossesb</artifactId>
-				<version>${project.version}</version>
+				<groupId>org.jboss.savara</groupId>
+				<artifactId>savara-runtime-jbossesb</artifactId>
 				<scope>provided</scope>
 			</dependency>
 		</dependencies>
@@ -32,24 +30,25 @@
 		<build>
 		    <finalName>purchasing</finalName>
 		    <plugins>
-			 <plugin>
-		     <groupId>org.apache.maven.plugins</groupId>
-		     <artifactId>maven-antrun-plugin</artifactId>
-			 <executions>
-			  <execution>
-			    <id>deploy</id>
-			    <phase>install</phase>
-			    <configuration>
-			      <tasks>
-				   <!--copy file="target/purchasing-stateless.esb" todir="${deploy.dir}" overwrite="true" /-->
-			      </tasks>
-			    </configuration>
-			    <goals>
-			      <goal>run</goal>
-			    </goals>
-			  </execution>
-			</executions>
-		    </plugin>		      
+		    <plugin>
+		        <artifactId>maven-assembly-plugin</artifactId>
+		         <executions> 
+		          <execution>
+		            <id>esb</id>
+		            <phase>package</phase>
+		            <goals>
+		              <goal>single</goal>
+		            </goals>
+		            <configuration>
+		              <finalName>store.esb</finalName>
+		              <appendAssemblyId>false</appendAssemblyId>
+		              <descriptors>
+		                <descriptor>src/scripts/esb-assembly.xml</descriptor>
+		              </descriptors>
+		            </configuration>
+		          </execution>		          
+		         </executions>
+	         </plugin>			      
 		    </plugins>
 		</build>
 	

Added: cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/purchasegoods/store/PurchaseGoodsProcess.java
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/purchasegoods/store/PurchaseGoodsProcess.java	                        (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/purchasegoods/store/PurchaseGoodsProcess.java	2009-08-21 07:55:37 UTC (rev 792)
@@ -0,0 +1,12 @@
+package org.jboss.savara.examples.purchasegoods.store;
+
+
+public class PurchaseGoodsProcess {
+	public String getCreditAgencyServiceCategory() {
+		return null;
+	}
+
+	public String getCreditAgencyServiceName() {
+		return null;
+	}
+}
\ No newline at end of file

Added: cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/MemoryEPRStorage.java
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/MemoryEPRStorage.java	                        (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/MemoryEPRStorage.java	2009-08-21 07:55:37 UTC (rev 792)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, 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) 2008,
+ */
+package org.jboss.savara.examples.store;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.jboss.savara.jbossesb.EPRStore;
+import org.jboss.soa.esb.addressing.EPR;
+import org.jboss.soa.esb.message.Message;
+
+/**
+ * @author <a href="mailto:cyu at redhat.com">Jeff Yu</a>
+ *
+ */
+public class MemoryEPRStorage implements EPRStore {
+	
+	private static final Map<String, EPR> storage = new HashMap<String, EPR>();
+	
+	public EPR getEPRByRole(String roleName, Message message) {
+		return storage.get(roleName);
+	}
+
+	public void registerRole(String roleName, Message message) {
+		EPR epr = message.getHeader().getCall().getReplyTo();
+		storage.put(roleName, epr);
+	}
+
+}

Added: cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/SetBuyFailedMessageAction.java
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/SetBuyFailedMessageAction.java	                        (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/SetBuyFailedMessageAction.java	2009-08-21 07:55:37 UTC (rev 792)
@@ -0,0 +1,56 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, 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) 2008,
+ */
+package org.jboss.savara.examples.store;
+
+import org.apache.log4j.Logger;
+import org.jboss.savara.jbossesb.XMLUtils;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.w3c.dom.Node;
+
+/*
+ * @author gary
+ */
+public class SetBuyFailedMessageAction extends AbstractActionLifecycle {
+	
+	private static Logger logger = Logger.getLogger(SetBuyFailedMessageAction.class);
+	
+	private ConfigTree config=null;
+	
+	public SetBuyFailedMessageAction(ConfigTree config) {
+		this.config = config;
+	}
+	
+	public Message process(Message message) throws Exception{
+		
+		Node node = XMLUtils.getNode((String)message.getBody().get());
+		String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
+
+		message.getBody().add("<BuyFailed id=\"" + idValue +"\"></BuyFailed>");
+		
+		logger.info("Updated buy message: " + message.getBody().get());
+		
+		return(message);
+	}
+
+}
+
+

Added: cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/SetBuyResponseMessageAction.java
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/SetBuyResponseMessageAction.java	                        (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/SetBuyResponseMessageAction.java	2009-08-21 07:55:37 UTC (rev 792)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, 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) 2008,
+ */
+package org.jboss.savara.examples.store;
+
+import org.apache.log4j.Logger;
+import org.jboss.savara.jbossesb.XMLUtils;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.w3c.dom.Node;
+
+public class SetBuyResponseMessageAction extends AbstractActionLifecycle {
+	
+	private static Logger logger = Logger.getLogger(SetBuyResponseMessageAction.class);
+	
+	private ConfigTree config;
+	
+	public SetBuyResponseMessageAction(ConfigTree config) {
+		this.config = config;
+	}
+	
+	public Message process(Message message) throws Exception{
+		
+		Node node = XMLUtils.getNode((String)message.getBody().get());
+		String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
+		message.getBody().add("<BuyConfirmed id=\"" + idValue +"\"></BuyConfirmed>");
+		
+		logger.info("Updated buy message: " + message.getBody().get());
+		
+		return(message);
+	}
+	
+	
+}
+
+

Added: cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/SetCreditCheckRequestMessageAction.java
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/SetCreditCheckRequestMessageAction.java	                        (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/java/org/jboss/savara/examples/store/SetCreditCheckRequestMessageAction.java	2009-08-21 07:55:37 UTC (rev 792)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, 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) 2008,
+ */
+package org.jboss.savara.examples.store;
+
+import org.apache.log4j.Logger;
+import org.jboss.savara.jbossesb.XMLUtils;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.w3c.dom.Node;
+
+public class SetCreditCheckRequestMessageAction extends AbstractActionLifecycle {
+	
+	private static Logger logger = Logger.getLogger(SetCreditCheckRequestMessageAction.class);
+	
+	private ConfigTree config;
+	
+	public SetCreditCheckRequestMessageAction(ConfigTree config) {
+		this.config = config;
+	}
+	
+	public Message process(Message message) throws Exception{
+		
+		Node node = XMLUtils.getNode((String)message.getBody().get());
+		String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
+		message.getBody().add("<CreditCheckRequest id=\"" + idValue +"\"></CreditCheckRequest>");
+		
+		logger.info("Updated credit check request message: " + message.getBody().get());
+		
+		return(message);
+	}
+	
+}
+
+

Modified: cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/deployment.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/deployment.xml	2009-08-21 06:29:19 UTC (rev 791)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/deployment.xml	2009-08-21 07:55:37 UTC (rev 792)
@@ -1,8 +1,9 @@
 <jbossesb-deployment>
-    <depends>jboss.esb:deployment=overlord-cdl-runtime.esb</depends>
-	<depends>org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store__3</depends>
-	<depends>org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store__2</depends>
-	<depends>org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store__1</depends>
-	<depends>org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store</depends>
-	<depends>org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_checkCredit</depends>
+    <depends>jboss.esb:deployment=savara-runtime-jbossesb.esb</depends>
+	<depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_checkCredit</depends>
+	<depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store__2</depends>
+	<depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store__1</depends>
+	<depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store</depends>
+	<depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store__3</depends>
+	<depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store_reply</depends>
 </jbossesb-deployment>

Modified: cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/jboss-esb.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/jboss-esb.xml	2009-08-21 06:29:19 UTC (rev 791)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/META-INF/jboss-esb.xml	2009-08-21 07:55:37 UTC (rev 792)
@@ -2,110 +2,109 @@
     <providers>
         <jms-provider connection-factory="ConnectionFactory" jndi-URL="localhost" jndi-context-factory="org.jnp.interfaces.NamingContextFactory" name="JBossMQ">
             <jms-bus busid="busId1">
-                <jms-message-filter dest-name="queue/org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store" dest-type="QUEUE"/>
+                <jms-message-filter dest-name="queue/org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store" dest-type="QUEUE"/>
             </jms-bus>
             <jms-bus busid="busId2">
-                <jms-message-filter dest-name="queue/org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store__1" dest-type="QUEUE"/>
+                <jms-message-filter dest-name="queue/org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store__1" dest-type="QUEUE"/>
             </jms-bus>
             <jms-bus busid="busId3">
-                <jms-message-filter dest-name="queue/org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store__2" dest-type="QUEUE"/>
+                <jms-message-filter dest-name="queue/org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store__2" dest-type="QUEUE"/>
             </jms-bus>
             <jms-bus busid="busId4">
-                <jms-message-filter dest-name="queue/org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store__3" dest-type="QUEUE"/>
+                <jms-message-filter dest-name="queue/org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store__3" dest-type="QUEUE"/>
             </jms-bus>
             <jms-bus busid="busId5">
-                <jms-message-filter dest-name="queue/org_pi4soa_purchase_purchasegoods_checkCredit" dest-type="QUEUE"/>
+                <jms-message-filter dest-name="queue/org_jboss_savara_examples_purchasegoods_checkCredit" dest-type="QUEUE"/>
             </jms-bus>
         </jms-provider>
     </providers>
     <services>
-        <service category="org.pi4soa.purchase.purchasegoods" name="PurchaseGoodsProcess_Store" description="">
+      <service category="org.jboss.savara.examples.purchasegoods" description="" name="PurchaseGoodsProcess_Store">
             <listeners>
-                <jms-listener busidref="busId1" maxThreads="1" name="org.pi4soa.purchase.purchasegoods-PurchaseGoodsProcess_Store"/>
+                <jms-listener busidref="busId1" maxThreads="1" name="org.jboss.savara.examples.purchasegoods-PurchaseGoodsProcess_Store"/>
             </listeners>
-            <actions mep="OneWay">
-                <action name="s1" process="process" class="org.jboss.savara.jbossesb.actions.SwitchAction">
-                    <property name="serviceDescriptionName" value="{org.pi4soa.purchase.purchasegoods}PurchaseGoodsProcess-Store"/>
-                    <property name="conversationType" value="overlord.cdl.samples.Purchasing at Store"/>
+            <actions>
+                <action class="org.jboss.savara.jbossesb.actions.SwitchAction" name="PurchaseGoodsProcess_Store_action_1" process="process">
+                    <property name="serviceDescriptionName" value="{org.jboss.savara.examples.purchasegoods}PurchaseGoodsProcess-Store"/>
+                    <property name="conversationType" value="savara.samples.Purchasing at Store"/>
                     <property name="paths">
-                        <case service-category="org.pi4soa.purchase.purchasegoods" service-name="PurchaseGoodsProcess_Store__1">
+                        <case service-category="org.jboss.savara.examples.purchasegoods" service-name="PurchaseGoodsProcess_Store__1">
                             <message type="BuyRequest"/>
                         </case>
                     </property>
                 </action>
             </actions>
         </service>
-        <service category="org.pi4soa.purchase.purchasegoods" name="PurchaseGoodsProcess_Store__1" description="">
+        <service category="org.jboss.savara.examples.purchasegoods" description="" name="PurchaseGoodsProcess_Store__1">
             <listeners>
-                <jms-listener busidref="busId2" maxThreads="1" name="org.pi4soa.purchase.purchasegoods-PurchaseGoodsProcess_Store__1"/>
+                <jms-listener busidref="busId2" maxThreads="1" name="org.jboss.savara.examples.purchasegoods-PurchaseGoodsProcess_Store__1"/>
             </listeners>
-            <actions mep="OneWay">
-                <action name="s2" process="process" class="org.jboss.savara.jbossesb.actions.ReceiveMessageAction">
+            <actions>
+                <action class="org.jboss.savara.jbossesb.actions.ReceiveMessageAction" name="PurchaseGoodsProcess_Store__1_action_1" process="process">
                     <property name="operation" value="buy"/>
                     <property name="messageType" value="BuyRequest"/>
-                    <property name="clientRole" value="Buyer" />
-                    <property name="eprStore" value="com.acme.services.broker.MemoryEPRStorage" />
+                    <property name="eprStore" value="org.jboss.savara.examples.store.MemoryEPRStorage" />
                 </action>
-                <action name="s3" process="process" class="com.acme.services.broker.SetCreditCheckRequestMessageAction">
+                <action name="s3" process="process" class="org.jboss.savara.examples.store.SetCreditCheckRequestMessageAction">
                 </action>
-                <action name="s4" process="process" class="org.jboss.savara.jbossesb.actions.SendMessageAction">
+                <action class="org.jboss.savara.jbossesb.actions.SendMessageAction" name="PurchaseGoodsProcess_Store__1_action_2" process="process">
                     <property name="operation" value="checkCredit"/>
                     <property name="messageType" value="CreditCheckRequest"/>
-                    <property name="serviceCategory" value="org.pi4soa.purchase.purchasegoods"/>
-                    <property name="serviceName" value="PurchaseGoodsProcess_CreditAgency"/>
-                    <property name="responseServiceCategory" value="org.pi4soa.purchase.purchasegoods"/>
+                    <property name="serviceCategory" value="org.jboss.savara.examples.purchasegoods"/>
+                    <property name="serviceName" value=PurchaseGoodsProcess_CreditAgency""/>
+                    <property name="responseServiceCategory" value="org.jboss.savara.examples.purchasegoods"/>
                     <property name="responseServiceName" value="checkCredit"/>
                 </action>
             </actions>
         </service>
-        <service category="org.pi4soa.purchase.purchasegoods" name="PurchaseGoodsProcess_Store__2" description="">
+        <service category="org.jboss.savara.examples.purchasegoods" description="" name="PurchaseGoodsProcess_Store__2">
             <listeners>
-                <jms-listener busidref="busId3" maxThreads="1" name="org.pi4soa.purchase.purchasegoods-PurchaseGoodsProcess_Store__2"/>
+                <jms-listener busidref="busId3" maxThreads="1" name="org.jboss.savara.examples.purchasegoods-PurchaseGoodsProcess_Store__2"/>
             </listeners>
-            <actions mep="OneWay">
-                <action name="s5" process="process" class="org.jboss.savara.jbossesb.actions.ReceiveMessageAction">
+            <actions>
+                <action class="org.jboss.savara.jbossesb.actions.ReceiveMessageAction" name="PurchaseGoodsProcess_Store__2_action_1" process="process">
                     <property name="operation" value="checkCredit"/>
-                    <property name="messageType" value="CreditCheckOk"/>
+                    <property name="messageType" value="CreditCheckOk"/>                    
                 </action>
-                <action name="purchasing-success" class="com.acme.services.broker.SetBuyResponseMessageAction">
+                <action name="purchasing-success" class="org.jboss.savara.examples.store.SetBuyResponseMessageAction">
                 </action>
-                <action name="s6" process="process" class="org.jboss.savara.jbossesb.actions.SendMessageAction">
+                <action class="org.jboss.savara.jbossesb.actions.SendMessageAction" name="PurchaseGoodsProcess_Store__2_action_2" process="process">
                     <property name="operation" value="buy"/>
                     <property name="messageType" value="BuyConfirmed"/>
                     <property name="clientRole" value="Buyer"/>
-                    <property name="eprStore" value="com.acme.services.broker.MemoryEPRStorage" />
+                    <property name="eprStore" value="org.jboss.savara.examples.store.MemoryEPRStorage" />
                 </action>
             </actions>
         </service>
-        <service category="org.pi4soa.purchase.purchasegoods" name="PurchaseGoodsProcess_Store__3" description="">
+        <service category="org.jboss.savara.examples.purchasegoods" description="" name="PurchaseGoodsProcess_Store__3">
             <listeners>
-                <jms-listener busidref="busId4" maxThreads="1" name="org.pi4soa.purchase.purchasegoods-PurchaseGoodsProcess_Store__3"/>
+                <jms-listener busidref="busId4" maxThreads="1" name="org.jboss.savara.examples.purchasegoods-PurchaseGoodsProcess_Store__3"/>
             </listeners>
-            <actions mep="OneWay">
-                <action name="s7" process="process" class="org.jboss.savara.jbossesb.actions.ReceiveMessageAction">
+            <actions>
+                <action class="org.jboss.savara.jbossesb.actions.ReceiveMessageAction" name="PurchaseGoodsProcess_Store__3_action_1" process="process">
                     <property name="operation" value="checkCredit"/>
                     <property name="messageType" value="CreditCheckInvalid"/>
                 </action>
-                <action name="purchasing-failed" class="com.acme.services.broker.SetBuyFailedMessageAction"></action>
-                <action name="s8" process="process" class="org.jboss.savara.jbossesb.actions.SendMessageAction">
+                <action name="purchasing-failed" class="org.jboss.savara.examples.store.SetBuyFailedMessageAction"></action>
+                <action class="org.jboss.savara.jbossesb.actions.SendMessageAction" name="PurchaseGoodsProcess_Store__3_action_2" process="process">
                     <property name="operation" value="buy"/>
                     <property name="messageType" value="BuyFailed"/>
                     <property name="clientRole" value="Buyer"/>
-                    <property name="eprStore" value="com.acme.services.broker.MemoryEPRStorage" />
+                    <property name="eprStore" value="org.jboss.savara.examples.store.MemoryEPRStorage" />
                 </action>
             </actions>
         </service>
-        <service category="org.pi4soa.purchase.purchasegoods" name="checkCredit" description="">
+        <service category="org.jboss.savara.examples.purchasegoods" description="" name="checkCredit">
             <listeners>
-                <jms-listener busidref="busId5" maxThreads="1" name="org.pi4soa.purchase.purchasegoods-checkCredit"/>
+                <jms-listener busidref="busId5" maxThreads="1" name="org.jboss.savara.examples.purchasegoods-checkCredit"/>
             </listeners>
-            <actions mep="OneWay">
-                <action name="s9" process="process" class="org.jboss.savara.jbossesb.actions.SwitchAction">
+            <actions>
+                <action class="org.jboss.savara.jbossesb.actions.SwitchAction" name="checkCredit_action_1" process="process">
                     <property name="paths">
-                        <case service-category="org.pi4soa.purchase.purchasegoods" service-name="PurchaseGoodsProcess_Store__2">
+                        <case service-category="org.jboss.savara.examples.purchasegoods" service-name="PurchaseGoodsProcess_Store__2">
                             <message type="CreditCheckOk"/>
                         </case>
-                        <case service-category="org.pi4soa.purchase.purchasegoods" service-name="PurchaseGoodsProcess_Store__3">
+                        <case service-category="org.jboss.savara.examples.purchasegoods" service-name="PurchaseGoodsProcess_Store__3">
                             <message type="CreditCheckInvalid"/>
                         </case>
                     </property>

Modified: cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/jbm-queue-service.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/jbm-queue-service.xml	2009-08-21 06:29:19 UTC (rev 791)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/jbm-queue-service.xml	2009-08-21 07:55:37 UTC (rev 792)
@@ -1,37 +1,37 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <server>
   <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store__3"
+    name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store__1"
     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="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store__2"
+    name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store__2"
     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="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store__1"
+    name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store__3"
     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="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store"
+    name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store"
     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="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store_reply"
+    name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store_reply"
     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="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_checkCredit"
+    name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_checkCredit"
     xmbean-dd="xmdesc/Queue-xmbean.xml">
 	<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
 	<depends>jboss.messaging:service=PostOffice</depends>

Modified: cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/jbmq-queue-service.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/jbmq-queue-service.xml	2009-08-21 06:29:19 UTC (rev 791)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/main/resources/jbmq-queue-service.xml	2009-08-21 07:55:37 UTC (rev 792)
@@ -1,38 +1,39 @@
 <server>
 	<mbean code="org.jboss.mq.server.jmx.Queue"
-			name="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store__3">
+			name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_checkCredit">
 		<depends optional-attribute-name="DestinationManager">
 			jboss.mq:service=DestinationManager
 		</depends>
 	</mbean>
 	<mbean code="org.jboss.mq.server.jmx.Queue"
-			name="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store__2">
+			name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store__2">
 		<depends optional-attribute-name="DestinationManager">
 			jboss.mq:service=DestinationManager
 		</depends>
 	</mbean>
 	<mbean code="org.jboss.mq.server.jmx.Queue"
-			name="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store__1">
+			name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store__1">
 		<depends optional-attribute-name="DestinationManager">
 			jboss.mq:service=DestinationManager
 		</depends>
 	</mbean>
 	<mbean code="org.jboss.mq.server.jmx.Queue"
-			name="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store">
+			name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store">
 		<depends optional-attribute-name="DestinationManager">
 			jboss.mq:service=DestinationManager
 		</depends>
 	</mbean>
 	<mbean code="org.jboss.mq.server.jmx.Queue"
-			name="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store_reply">
+			name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store_reply">
 		<depends optional-attribute-name="DestinationManager">
 			jboss.mq:service=DestinationManager
 		</depends>
 	</mbean>
 	<mbean code="org.jboss.mq.server.jmx.Queue"
-			name="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_checkCredit">
+			name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_Store__3">
 		<depends optional-attribute-name="DestinationManager">
 			jboss.mq:service=DestinationManager
 		</depends>
 	</mbean>
 </server>
+

Added: cdl/trunk/samples/jbossesb/purchasing/store/src/scripts/esb-assembly.xml
===================================================================
--- cdl/trunk/samples/jbossesb/purchasing/store/src/scripts/esb-assembly.xml	                        (rev 0)
+++ cdl/trunk/samples/jbossesb/purchasing/store/src/scripts/esb-assembly.xml	2009-08-21 07:55:37 UTC (rev 792)
@@ -0,0 +1,18 @@
+<assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+  <id>esb</id>
+  <formats>
+    <format>zip</format>
+  </formats>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <fileSets>
+    <fileSet>
+      <directory>target/classes</directory>
+      <outputDirectory>/</outputDirectory>
+      <excludes>
+       <exclude>jbmq-queue-service.xml</exclude>
+      </excludes>
+    </fileSet>
+  </fileSets>
+  
+</assembly>
\ No newline at end of file



More information about the overlord-commits mailing list