[jboss-svn-commits] JBL Code SVN: r11233 - in labs/jbossesb/trunk/product/samples/quickstarts: aggregator and 23 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Apr 23 11:13:05 EDT 2007


Author: beve
Date: 2007-04-23 11:13:04 -0400 (Mon, 23 Apr 2007)
New Revision: 11233

Added:
   labs/jbossesb/trunk/product/samples/quickstarts/aggregator/log4j.xml
   labs/jbossesb/trunk/product/samples/quickstarts/business_service/src/
   labs/jbossesb/trunk/product/samples/quickstarts/conf/
   labs/jbossesb/trunk/product/samples/quickstarts/conf/base-build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/conf/jms/
   labs/jbossesb/trunk/product/samples/quickstarts/conf/jms/esb-quickstart-jbm-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/conf/jms/esb-quickstart-jbmq-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/conf/quickstarts.properties
   labs/jbossesb/trunk/product/samples/quickstarts/conf/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/jbm-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/jboss-esb-unfiltered.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jbm-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jboss-esb-unfiltered.xml
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb-unfiltered.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/readme.txt
Removed:
   labs/jbossesb/trunk/product/samples/quickstarts/base-build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/esb-quickstart-jbm-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/esb-quickstart-jbmq-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/base-build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/base-build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/base-build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/quickstarts.properties
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/README.txt
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/base-build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/README.txt
   labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/base-build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/base-build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/base-build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/README.txt
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/base-build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/base-build.xml
Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/aggregator/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/aggregator/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/business_service/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/business_service/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service-scoped.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/log4j.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/src/quickstart/helloworld_action/test/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/jbm-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/src/quickstart/test/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_sql_action/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_sql_action/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/jbm-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/jbm-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/jbm-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/build.xml
Log:
Updates to quickstart according to JIRA JBESB-490. Please not that there is another JIRA: JBESB-519 that will continue this work. So, this is a work in progress and I am checking this in to get feedback from Burr and Kevin. 
Also, not that currently the business_server is not deploying correctly. This is an issue that will continue working on. 


Modified: labs/jbossesb/trunk/product/samples/quickstarts/aggregator/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/aggregator/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/aggregator/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,121 +1,99 @@
-<project name="Quickstart_Aggregator" default="jars" basedir=".">
-
- <property file="../quickstarts.properties" />
-
- <property name="build.dir" value="${basedir}/build"/>
- <property name="src.dir"   value="${basedir}/src"/>
+<project name="Quickstart_Aggregator" default="runInbound" basedir=".">
 	
- <property name="esb-config" value="${basedir}/jbossesb.xml"/>
-  
-	<path id="classpath">
-    <fileset dir="${esb.product.lib.dir}" includes="*jar"/>
-	<fileset dir="${esb.product.lib.dir}" includes="*xml"/>
-	<fileset dir="${esb.product.lib.dir}/ext" includes="*jar"/>
-	<fileset dir="${basedir}" includes="smooks-cdr.lst"/>
-	<fileset dir="${basedir}" includes="smooks-res.xml"/>
-	<fileset dir="${jbosshome.dir}/client" includes="*jar"/>
-	<fileset dir="${jbosshome.dir}/server/default/lib">
-	  <include name="jboss-j2ee.jar"/> <!-- added this for the JMS client -->
-	</fileset>		
-  	
-  <fileset dir="${basedir}" includes="build/**/*.jar"/>
-  <fileset dir="${basedir}" includes="build/**/*.xml"/>
-    <pathelement location="." />  
-  </path>
- 
-  <property name="cp" refid="classpath"/>
-  
-  <target name="echoCP">    
-  	<echo message="Classpath is ${cp}"/>
-  </target>
-  
-  <target name="prepare">
-	  <mkdir dir="${build.dir}" />
-  </target>
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+			
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
 
-  <target name="clean">
-	  <delete dir="${build.dir}" />
-  </target>
-
-  <target name="compile" depends="prepare">
-	  <javac srcdir="${src.dir}"
-	     destdir="${build.dir}">
-	    <classpath refid="classpath"/>
- 	  </javac>
-  </target>
-
-  <target name="jars" depends="compile">
-	<delete file="${build.dir}/${ant.project.name}.jar"/>
-    <jar destfile="${build.dir}/${ant.project.name}.jar"
-		basedir="${build.dir}"
-		includes="**/*.class"/>
-  </target>
-
-  <target name="runInbound">	  
+  <target name="run" depends="compile"
+	description="runs the inboud Router/splitter">	  
        <echo>Inbound Router/Splitter:</echo>
 			 <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">  
 		  	   	<arg value="${basedir}/inbound_splitter/jbossesb.xml"/>
-		  		<classpath refid="classpath"/>
+		  		<classpath refid="exec-classpath"/>
 		   </java>
   </target>
-  <target name="runRedService">	  
+	
+  <target name="runRedService" depends="compile"
+	description="run Red Service">	  
  	     <echo>Red Service:</echo>
 			 <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">  
 		  	   	<arg value="${basedir}/red_service/jbossesb.xml"/>
-		  		<classpath refid="classpath"/>
+		  		<classpath refid="exec-classpath"/>
 		   </java>
   </target>
-  <target name="runBlueService">	  
+	
+  <target name="runBlueService" depends="compile"
+	description="run Blue service">	  
  	     <echo>Blue Service:</echo>
 			 <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">  
 		  	   	<arg value="${basedir}/blue_service/jbossesb.xml"/>
-		  		<classpath refid="classpath"/>
+		  		<classpath refid="exec-classpath"/>
 		   </java>
   </target>
-  <target name="runGreenService">	  
+	
+  <target name="runGreenService" depends="compile"
+	description="run Green Service">	  
  	     <echo>Green Service:</echo>
 			 <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">  
 		  	   	<arg value="${basedir}/green_service/jbossesb.xml"/>
-		  		<classpath refid="classpath"/>
+		  		<classpath refid="exec-classpath"/>
 		   </java>
   </target>
   
-  <target name="runAggregatorService">	  
+  <target name="runAggregatorService" depends="compile">	  
  	     <echo>Aggregator Service:</echo>
 			 <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">  
 		  	   	<arg value="${basedir}/aggregation_service/jbossesb.xml"/>
-		  		<classpath refid="classpath"/>
+		  		<classpath refid="exec-classpath"/>
 		   </java>
   </target>
   	
-  <target name="runtest">
+  <target name="runtest" depends="compile"
+  	description="will send an JMS message to the ESB">
      <echo>Runs Test JMS Sender</echo>
      <java fork="yes" classname="quickstart.test.SendJMSMessage" failonerror="true">
-		<classpath refid="classpath"/>
+  		<classpath refid="exec-classpath"/>
      </java>
   </target>  
 	
-  <target name="receiveBlue">
+  <target name="receiveBlue" depends="compile"
+	description="receiveBlue">
 	 <echo>Runs Test JMS Receiver</echo>
 	 <java fork="yes" classname="quickstart.test.ReceiveJMSMessage" failonerror="true">
 	  	<arg value="queue/quickstart_Aggregator_Blue_Alert"/>
-		<classpath refid="classpath"/>
+  		<classpath refid="exec-classpath"/>
 	 </java>
   </target>  
 	
-  <target name="receiveRed">
+  <target name="receiveRed" depends="compile"
+	description="receiveRed">
 	 <echo>Runs Test JMS Receiver</echo>
 	 <java fork="yes" classname="quickstart.test.ReceiveJMSMessage" failonerror="true">
 	   	<arg value="queue/quickstart_Aggregator_Red_Alert"/>
-		<classpath refid="classpath"/>
+  		<classpath refid="exec-classpath"/>
 	 </java>
    </target>  
 	
-  <target name="receiveGreen">
+  <target name="receiveGreen" depends="compile"
+	description="receiveGreen">
 	 <echo>Runs Test JMS Receiver</echo>
 	 <java fork="yes" classname="quickstart.test.ReceiveJMSMessage" failonerror="true">
 	   	<arg value="queue/quickstart_Aggregator_Green_Alert"/>
-		<classpath refid="classpath"/>
+  		<classpath refid="exec-classpath"/>
 	 </java>
    </target> 
-</project>
\ No newline at end of file
+	
+	<target name="deploy">
+		<echo>
+				######################################################################
+				This quickstart can only run in standalone mode. 
+				Please run 'ant help' for information about how to run this quickstart
+				######################################################################
+		</echo>
+	</target>
+	
+</project>

Added: labs/jbossesb/trunk/product/samples/quickstarts/aggregator/log4j.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/aggregator/log4j.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/aggregator/log4j.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,78 @@
+<?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.jboss.logging.util.OnlyOnceErrorHandler"/>
+      <param name="Target" value="System.out"/>
+
+      <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.jboss.logging.appender.RollingFileAppender">
+     <errorHandler class="org.jboss.logging.util.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="INFO"/>
+   </category>
+   <!-- ======================= -->
+   <!-- Setup the Root category -->
+   <!-- ======================= -->
+
+   <root>
+      <appender-ref ref="CONSOLE"/>
+      <appender-ref ref="FILE"/>
+   </root>
+
+</log4j:configuration>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/aggregator/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/aggregator/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/aggregator/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,63 +1,60 @@
 Overview:
 =========
-The purpose of this particular example is to demonstrate the Enterprise Integration
-Patterns of Splitter and Aggregator. In addition, this example demonstrates the 
-concepts of multiple JVMs, each running unique services but all working in concert,
-a federated model that shares a common registry and uses JMS between the JVMs.  
-The registry is managed by the ESB SAR (see Getting Started Guide). This example
-assumes JBoss MQ running on JBoss AS 4.x.  However, it uses no JBoss Application
-Server specific features.
+	The purpose of this particular example is to demonstrate the Enterprise Integration
+	Patterns of Splitter and Aggregator. In addition, this example demonstrates the 
+	concepts of multiple JVMs, each running unique services but all working in concert,
+	a federated model that shares a common registry and uses JMS between the JVMs.  
+	The registry is managed by the ESB SAR (see Getting Started Guide). This example
+	assumes JBoss MQ running on JBoss AS 4.x.  However, it uses no JBoss Application
+	Server specific features.
 
-Before Running:
-===============
-1. Update the "jbosshome.dir" property in the quickstarts.properties file in "../".
-2. Make sure the jbossesb.sar is deployed on your JBoss Application Server.
-   In the ESB "install" update deployment.properties and then run "ant".
-3. Make sure the JBoss Application server is running.
-4. You will need to start 6 command windows as this example uses at least 6 JVMs
-5. All of the quickstarts rely heavily on Ant to configure the classpath and execute
-   the demonstration components.
-6. Make sure you have deployed the JMS destinations described in the 
-   esb-quickstart-service.xml by dropping this file into the JBoss AS deploy directory.
+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.
 
-To Run:
-=======
-1. Command Window 1: "ant jars" - compiles and builds the JARS
-2. Command Window 1: "ant runInbound" - contains the splitter
-It will display the entire XML message to its console
-3. Command Window 2: "ant runRedService" - rips out just the Customer
-It will display just the Customer information to its console
-4. Command Window 3: "ant runGreenService" - rips out just the LineItems
-It will display just the LineItems to its console
-5. Command Window 4: "ant runBlueService" - rips out just the OrderHeader
-It will display just the Order header information to its console
-6. Command Window 5: "ant runAggregatorService" - displays the parts together
-It will simply push out the individual message parts.  More details on how that is
-achieved can be found below
-7. Command Window 6: "ant runtest" - this sends the SampleOrder.xml into the splitter's queue
-8. The split off messages can be set out from the ESB via Notification. You can run
-"ant receiveRed", "ant receiveGreen" and "ant receiveBlue" in three more command windows 
-plus modify the Red, Green and Blue service's jbossesb.xml files to use notification
-to send to the appropriate queues. Notification is demonstrated in the fun_cbr quickstart.
-The Red Service doesn't notify, feel free to add in the XML necessary (copy from Blue or Green)
-and tweak.  When you save Red's jbossesb.xml it will be automatically hot deployed.
+To Run standalone mode:
+=======================
+	1.	In a command terminal window in the quickstart folder type 'ant deploy-jms-dests'.
+	2.	Command Window 1: "ant jar" - compiles and builds the JARS
+	3.	Command Window 1: "ant run" - contains the splitter
+		It will display the entire XML message to its console
+	4.	Command Window 2: "ant runRedService" - rips out just the Customer
+		It will display just the Customer information to its console
+	5.	Command Window 3: "ant runGreenService" - rips out just the LineItems
+		It will display just the LineItems to its console
+	6.	Command Window 4: "ant runBlueService" - rips out just the OrderHeader
+		It will display just the Order header information to its console
+	7.	Command Window 5: "ant runAggregatorService" - displays the parts together
+	  	It will simply push out the individual message parts.  More details on how that is
+		achieved can be found below
+	8.	Command Window 6: "ant runtest" - this sends the SampleOrder.xml into the splitter's queue
+	9.	The split off messages can be set out from the ESB via Notification. You can run
+		"ant receiveRed", "ant receiveGreen" and "ant receiveBlue" in three more command windows 
+		plus modify the Red, Green and Blue service's jbossesb.xml files to use notification
+		to send to the appropriate queues. Notification is demonstrated in the fun_cbr quickstart.
+		The Red Service doesn't notify, feel free to add in the XML necessary (copy from Blue or Green)
+		and tweak.  When you save Red's jbossesb.xml it will be automatically hot deployed.
 
-The aggregation action (SystemPrintln in this case) needs to contain logic for handling
-the "parts". The trick is using ActionUtils.getTaskObject(message) and then looping
-through the attachments:
 
+What to look at in this Quickstart:
+===================================
+	The aggregation action (SystemPrintln in this case) needs to contain logic for handling
+	the "parts". The trick is using ActionUtils.getTaskObject(message) and then looping
+	through the attachments:
+
 	public Message process(Message message) throws ActionProcessingException {
 		Object messageObject = ActionUtils.getTaskObject(message);
-		
+
 		if(messageObject instanceof byte[]) {
 			System.out.println(printlnMessage + ": \n[" + format(new String((byte[])messageObject)) + "].");
 		} else {
-			if (messageObject!=null) System.out.println(printlnMessage + ": \n[" + format(messageObject.toString()) + "].");
-            for (int i=0; i<message.getAttachment().getUnnamedCount(); i++) {
-                Message attachedMessage = (Message) message.getAttachment().itemAt(i);
-                System.out.println("attachment " + i + ": [" + new String(attachedMessage.getBody().getContents()) + "].");
-            }
-		}		
-		return message;
+		if (messageObject!=null) System.out.println(printlnMessage + ": \n[" + format(messageObject.toString()) + "].");
+		for (int i=0; i<message.getAttachment().getUnnamedCount(); i++) {
+			Message attachedMessage = (Message) message.getAttachment().itemAt(i);
+			System.out.println("attachment " + i + ": [" + new String(attachedMessage.getBody().getContents()) + "].");
+		}
+	}		
+	return message;
 	}
-	
\ No newline at end of file
+

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/base-build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/base-build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,166 +0,0 @@
-<project name="Base" basedir=".">
-
-    <property file="../quickstarts.properties"/>
-
-    <property name="additional.deploys" value=""/>
-    <property name="deploy-after" value="true"/>
-
-    <property name="classes" value="build/classes"/>
-
-    <path id="compile-classpath">
-        <path refid="quickstart-dependencies-classpath"/>
-        <fileset dir="../../../lib/ext" includes="*.jar"/>
-        <!-- Product Dependencies. -->
-        <fileset dir="${esb.product.lib.dir}" includes="*.jar"/>
-        <!-- Product Jars. -->
-    </path>
-    <path id="exec-classpath">
-        <pathelement location="."/>
-        <pathelement location="src"/>
-        <pathelement location="build/classes"/>
-        <path refid="compile-classpath"/>
-        <fileset dir="${jbosshome.dir}/server/default/lib" includes="jboss-j2ee.jar"/>
-        <!-- Required for JMS Client Code. -->
-    </path>
-    <path id="quickstart-dependencies-classpath">
-        <fileset dir="lib" includes="*.jar"/>
-        <!-- Quickstart Specific Jars. -->
-    </path>
-
-    <target name="compile" depends="clean">
-        <mkdir dir="${classes}"/>
-        <javac srcdir="src" destdir="${classes}">
-            <classpath refid="compile-classpath"/>
-        </javac>
-    </target>
-
-    <target name="run" depends="compile">
-        <echo>Launching Quickstart in standalone mode...</echo>
-        <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
-            <arg value="./jbossesb.xml"/>
-            <classpath refid="exec-classpath"/>
-        </java>
-    </target>
-
-    <target name="deployToSAR">
-        <echo message='******************'/>
-        <echo message='DEPRECATED!!  Sorry, this target has been deprecated for Quickstart Deployment.'/>
-        <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}'/>
-        <echo message='******************'/>
-        <fail/>
-    </target>
-
-    <target name="deploy" depends="compile">
-        <echo>Deploying Quickstart to JBoss ESB Server...</echo>
-
-        <mkdir dir="build/META-INF"/>
-        <copy todir="build/META-INF">
-            <fileset dir="./" includes="jboss-esb.xml,deployment.xml"/>
-        </copy>
-
-        <antcall target="quickstart-specific-assemblies"/>
-
-        <jar destfile="build/${ant.project.name}.esb">
-            <fileset dir="build/classes"/>
-            <fileset dir="build" includes="*.jar,*.war"/>
-            <fileset dir="src" excludes="**/*.java"/>
-            <fileset dir="build" includes="META-INF/**"/>
-            <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
-            <fileset dir="./" includes="${additional.deploys}"/>
-            <fileset dir="lib" includes="*.jar"/>
-        </jar>
-
-        <antcall target="deploy-esb-archive-before"/>
-        <antcall target="quickstart-specific-deploys"/>
-        <antcall target="deploy-esb-archive-after"/>
-
-        <echo message='${line.separator}******************'/>
-        <echo>Quickstart deployed to target JBoss ESB Server at '${jbosshome.dir}'.</echo>
-        <echo>1. Check your ESB Server console to make sure the deployment was executed without errors.</echo>
-        <echo>2. Run 'ant runtest' to run the Quickstart.</echo>
-        <echo>3. Check your ESB Server console again. The Quickstart should have produced some output.</echo>
-        <echo message='******************'/>
-
-    </target>
-
-    <target name="quickstart-specific-assemblies">
-        <!-- Override this target in the Quickstart in order to make Quickstart specific assemblies. -->
-        <echo message="No Quickstart specific assembly tasks."/>
-    </target>
-
-    <target name="quickstart-specific-deploys">
-        <!-- Override this target in the Quickstart in order to make Quickstart specific deployments. -->
-        <echo message="No Quickstart specific deployments being made."/>
-    </target>
-
-    <target name="assert-ws-available">
-        <available property="ws-available" file="${jbosshome.dir}/server/default/deploy/jbossws.sar" type="dir"/>
-        <fail unless="ws-available">**** DEPLOYMENT FAILED... Sorry, this Quickstart requires a JBoss Webservice
-            container. '${jbosshome.dir}' does not have a Webservice container. Check the 'jbosshome.dir' property in
-            ../quickstarts.properties"
-        </fail>
-        <echo message="JBoss Webservice container found on target '${jbosshome.dir}'."/>
-    </target>
-
-    <!--
-        Equivalent of the wstools ant task.  Wasn't able to get that ant task
-        working (or wsconsume) - nullp exceptions out of some Xerces classes.
-
-        Produces a jar file in the root of the build dir.  This jar will automatically be
-        added to the .esb archive.
-
-        @param "config" Path to the wstools config file.
-        @param "servicename" The name of the service for which wstools is to produce a set of artifacts.
-    -->
-    <target name="wstools">
-        <property name="workingdir" value="build/${servicename}"/>
-
-        <mkdir dir="${workingdir}/src"/>
-        <mkdir dir="${workingdir}/classes"/>
-
-        <path id="wstools-classpath">
-            <fileset dir="${jbosshome.dir}/client"
-                     includes="jboss-xml-binding.jar,activation.jar,javassist.jar,jbossall-client.jar,jbossretro-rt.jar,jboss-backport-concurrent.jar,jbossws-client.jar,jbossws14-client.jar,log4j.jar,mail.jar"/>
-        </path>
-
-        <!-- java  -Xms128m -Xmx256m -Xms128m -Xmx256m -Djava.endorsed.dirs="H:\jboss-4.0.5.GA\bin\\..\lib\endorsed" -Dlog4j.configuration=wstools-log4j.xml -classpath ";H:\jboss-4.0.5.GA\bin\\../client ......" org.jboss.ws.tools.WSTools -config wstools-config61774.xml -dest H:\Jboss\ActiveEndpoints\OrderManagement\resources\wsdl\src -->
-        <java fork="true" classname="org.jboss.ws.tools.WSTools" classpathref="wstools-classpath" failonerror="true">
-            <jvmarg value="-Xms128m"/>
-            <jvmarg value="-Xmx256m"/>
-            <jvmarg value="-Xms128m"/>
-            <jvmarg value="-Xmx256m"/>
-            <jvmarg value="-Djava.endorsed.dirs=${jbosshome.dir}/lib/endorsed"/>
-            <jvmarg value="-Dlog4j.configuration=${basedir}/log4j.xml"/>
-            <classpath refid="wstools-classpath"/>
-
-            <arg value="-config"/>
-            <arg value="${config}"/>
-            <arg value="-dest"/>
-            <arg value="${workingdir}/src"/>
-        </java>
-
-        <!-- Removed because they were causing compile errors. -->
-        <delete dir="${workingdir}/src" includes="**/*Service.java"/>
-
-        <javac srcdir="${workingdir}/src" destdir="${workingdir}/classes" classpathref="wstools-classpath"/>
-        <jar basedir="${workingdir}/classes" destfile="build/${servicename}-bindings.jar"/>
-
-    </target>
-
-    <target name="deploy-esb-archive-before" unless="deploy-after">
-        <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/"/>
-    </target>
-    <target name="deploy-esb-archive-after" if="deploy-after">
-        <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/"/>
-    </target>
-
-    <target name="echoCP">
-        <property name="cp" refid="exec-classpath"/>
-        <echo message="Classpath is ${cp}"/>
-    </target>
-
-    <target name="clean">
-        <delete dir="build"/>
-    </target>
-
-</project>
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/business_service/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/business_service/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/business_service/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,16 +1,23 @@
-<project name="Base" default="run" basedir=".">
+<project name="Quickstart_business_service" default="run" basedir=".">
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+			
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
 
-   <property file="../quickstarts.properties"/>
+	<property name="ejb.jar.name" value="${basedir}/build/helloworld-ejb.jar"/>
+	<property name="additional.deploys" value="${ejb.jar.name}"/>
 
-   <property name="additional.deploys" value=""/>
-
    <property name="classes" value="build/classes"/>
-
+	
    <path id="compile-classpath">
       <fileset dir="../../../lib/ext" includes="*.jar"/>
       <!-- Product Dependencies. -->
       <fileset dir="${esb.product.lib.dir}" includes="*.jar"/>
-      <fileset dir="${jbosshome.dir}/client" includes="*.jar"/>
+      <fileset dir="${org.jboss.esb.server.home}/client" includes="*.jar"/>
       <!-- Product Jars. -->
    </path>
    <path id="exec-classpath">
@@ -18,10 +25,11 @@
       <pathelement location="build/classes"/>
       <pathelement location="src"/>
       <path refid="compile-classpath"/>    
-      <fileset dir="${jbosshome.dir}/client" includes="*.jar"/>
+      <fileset dir="${org.jboss.esb.server.home}/client" includes="*.jar"/>
       <!-- Required for JMS Client Code. -->
    </path>
 
+	<!--
    <target name="compile">
       <mkdir dir="${classes}"/>
       <javac srcdir="ejb3/src" destdir="${classes}">
@@ -31,74 +39,59 @@
          <classpath refid="compile-classpath"/>
       </javac>
    </target>
+   -->
 
-   <target name="deployToSAR">
-      <echo message='******************'/>
-      <echo message='DEPRECATED!!  Sorry, this target has been deprecated for Quickstart Deployment.'/>
-      <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}'/>
-      <echo message='******************'/>
-      <fail/>
-   </target>
-
+	<target name="quickstart-specific-assemblies">
+		<jar destfile="${ejb.jar.name}">
+			<fileset dir="build/classes" includes="org/jboss/tutorial/stateless/bean/*.class"/>
+		</jar>
+	</target>
+	
+	<!--
    <target name="deploy" depends="compile">
       <echo>Deploying Quickstart to JBoss ESB Server...</echo>
-
-      <mkdir dir="build/META-INF"/>
-      <copy todir="build/META-INF">
-         <fileset dir="./" includes="jboss-esb.xml,deployment.xml"/>
-      </copy>
-
-      <jar destfile="build/helloworld-ejb.jar">
-         <fileset dir="build/classes" includes="org/jboss/tutorial/stateless/bean/*.class"/>
-      </jar>
-
       <jar destfile="build/${ant.project.name}.esb">
          <fileset dir="build" includes="helloworld-ejb.jar"/>
          <fileset dir="build/classes" includes="quickstart/**/*"/>
          <fileset dir="build" includes="META-INF/**"/>
          <fileset dir="${basedir}" includes="jboss-mq-queue-service.xml"/>
       </jar>
-
-      <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/all/deploy/"/>
-
-      <echo message='${line.separator}******************'/>
-      <echo>Quickstart deployed to target JBoss ESB Server at '${jbosshome.dir}'.</echo>
-      <echo>1. Check your ESB Server console to make sure the deployment was executed without errors.</echo>
-      <echo>2. Run 'ant runtest' to run the Quickstart.</echo>
-      <echo>3. Check your ESB Server console again. The Quickstart should have produced some output.</echo>
-      <echo message='******************'/>
-
    </target>
+   -->
 
-   <target name="echoCP">
-      <property name="cp" refid="exec-classpath"/>
-      <echo message="Classpath is ${cp}"/>
-   </target>
-
-   <target name="testaspojo" depends="compile">
+   <target name="testaspojo" depends="compile" 
+	description="tests a pojo">
       <java classname="org.jboss.tutorial.stateless.client.Client" fork="yes" dir=".">
          <arg value="-pojo"/>
          <classpath refid="exec-classpath"/>
       </java>
    </target>
 
-   <target name="testasejb" depends="compile">
+   <target name="testasejb" depends="compile"
+	description="tests an EJB">
       <java classname="org.jboss.tutorial.stateless.client.Client" fork="yes" dir=".">
          <arg value="-ejb"/>
          <classpath refid="exec-classpath"/>
       </java>
    </target>
 
-   <target name="runtest" depends="compile">
+   <target name="runtest" depends="compile"
+		description="runs Test JMS Sender">
       <echo>Runs Test JMS Sender</echo>
       <java fork="yes" classname="quickstart.business_service.test.SendJMSMessage" failonerror="true">
          <arg value="Your Name"/>
          <classpath refid="exec-classpath"/>
       </java>
    </target>
+	
+	<target name="deploy">
+		<property name="ejb.jar.name" value="${basedir}/build/helloworld-ejb.jar"/>
+			<echo>
+					######################################################################
+					This quickstart can only run in standalone mode. 
+					Please run 'ant help' for information about how to run this quickstart
+					######################################################################
+			</echo>
+		</target>
 
-   <target name="clean">
-      <delete dir="build"/>
-   </target>
-
 </project>
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/business_service/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/business_service/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/business_service/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -6,25 +6,30 @@
     routing behaviors, orchestration, etc. The EJB3 is a simple "Hello World" 
     annotated POJO.  
 
-Before Running:
-===============
-1. Update the "jbosshome.dir" property in the quickstarts.properties file in "../".
-2. Make sure the jbossesb.sar is deployed on your JBoss Application Server.
-   In the ESB "install" folder update deployment.properties and then run "ant".
-   This example does require you to use a version for 4.0.4+ with the EJB3 profile.
-3. Make sure the JBoss Application server is running.
-4. Make sure you have deployed the JMS destinations described in the 
-   esb-quickstart-service.xml by dropping this file into the JBoss AS deploy directory.
-5. Note: This example doesn't have a deployToSAR task at this time.
+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 example does require you to use a version for 4.0.4+ with the EJB3 profile.
+	Note: This example doesn't have a deploy task implemented at this time.
 
-To Run:
-=======
-1. In the first command window, execute "ant".  This will compile the project, build
-the needed jars and deploy the EJB3 component to the Application Server.  If you are 
-monitoring the Application Server console you will see it hot deploy the EJB3 jar.
-2. In a second command window, execute "ant runtest".  You will see the ESB console
-(the first command window) display:
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-queues'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to "Window1" to see the output from the ESB
+
+	 'run' target description:
+	In the first command window, execute "ant".  This will compile the project, build
+	the needed jars and deploy the EJB3 component to the Application Server.  If you are 
+	monitoring the Application Server console you will see it hot deploy the EJB3 jar.
+    Shutdown the listener by simply using Ctrl-C in that window.
+
+	'runtest' target description:
+	In a second command window, execute "ant runtest".  You will see the ESB console
+	(the first command window) display:
      [echo] Action uses EJB as a business service
 
      [java] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
@@ -36,19 +41,19 @@
      [java] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
      [java] Body: Hello World: Your Name Mon Jan 29 21:41:23 EST 2007
      [java] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
-     
-You should also notice the following on the Application Server console window:
+
+	You should also notice the following on the Application Server console window:
      21:41:23,515 INFO  [STDOUT] Saying Hello to Your Name
-     
+
 What to look at in this Quickstart:
 ===================================
-The EJB3 POJO is very simple and the build.xml also includes tasks for testing the EJB3
-standalone apart from the ESB. You can execute "ant testasejb" to test the EJB3 
-component by itself.
-The action is also very simple:
+	The EJB3 POJO is very simple and the build.xml also includes tasks for testing the EJB3
+	standalone apart from the ESB. You can execute "ant testasejb" to test the EJB3 
+	component by itself.
+	The action is also very simple:
 		InitialContext ctx = new InitialContext();
     
-    HelloWorld client = (HelloWorld) ctx.lookup("HelloWorldBean/remote");
-    results = client.sayHello(contents);
+		HelloWorld client = (HelloWorld) ctx.lookup("HelloWorldBean/remote");
+		results = client.sayHello(contents);
     
-    
\ No newline at end of file
+    

Added: labs/jbossesb/trunk/product/samples/quickstarts/conf/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/conf/base-build.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/conf/base-build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,238 @@
+<project name="base-build" basedir=".">
+	
+	<!-- get the name of the directory where this file exists -->
+	<dirname property="pwd" file="${ant.file.base-build}"/>
+	
+	<dirname property="quickstarts.dir" file="${pwd}/"/>
+	<dirname property="product.dir" file="${quickstarts.dir}/.."/>
+	<property name="install.dir" value="${product.dir}/install"/>
+
+	<!-- load properties file: quickstarts.properties, with prefix quickstart. -->
+	<property file="${pwd}/quickstarts.properties" prefix="quickstart" />
+	
+	<!-- load properties file: install/deployment.properties, with prefix install.  -->
+	<property file="${install.dir}/deployment.properties" prefix="install" />
+	
+    <property name="build.dir" value="${basedir}/build" />
+    <property name="classes" value="${build.dir}/classes" />
+
+	<!-- lib directory for jbossesb jar files.  -->
+	<condition property="esb.product.lib.dir" 
+		value="${product.dir}/build/jbossesb/lib" else="${product.dir}/lib">
+		<available file="${product.dir}/build/jbossesb/lib/jbossesb-rosetta.jar"/>
+	</condition>
+	<!-- fail if this is not a GA release distribution and the project has not yet been built -->	
+	<available file="${esb.product.lib.dir}/jbossesb-rosetta.jar" property="lib.exists" />
+	<fail unless="lib.exists" message="JBossESB must be built. Please run 'ant' in ${product.dir}"/>
+	
+	<!-- check if org.jboss.esb.jboss.server.home has been specified in quickstarts.properites -->
+	<condition
+		property="org.jboss.esb.server.home"  
+		value="${quickstart.org.jboss.esb.server.home}" 
+		else="${install.org.jboss.esb.server.home}"> 
+		<isset property="quickstart.org.jboss.esb.server.home"/>
+	</condition>
+	
+	<!-- check if org.jboss.esb.jboss.server.config has been specified in quickstarts.properites -->
+	<condition 
+		property="org.jboss.esb.server.config" 
+		value="${quickstart.org.jboss.esb.server.config}"
+		else="${install.org.jboss.esb.server.config}"> 
+		<isset property="quickstart.org.jboss.esb.server.config"/>
+	</condition>
+	
+	<!-- JBoss Application server deploy directory -->
+	<property name="org.jboss.esb.server.deploy.dir" 
+		value="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/deploy"/>
+	
+	<!-- check if the application server support JBoss Messaging or JBossMQ -->
+	<condition property="jms.destinations.file" 
+			value="esb-quickstart-jbm-service.xml" else="esb-quickstart-jbmq-service.xml">
+			<available file="${org.jboss.esb.server.deploy.dir}/jboss-messaging"/>
+	</condition>
+	
+	<property name="additional.deploys" value="none" />
+    <property name="deploy-after" value="true" />
+	
+	<path id="compile-classpath">
+        <path refid="quickstart-dependencies-classpath" />
+        <fileset dir="${product.dir}/lib/ext" includes="*.jar" /> <!-- Product Dependencies. -->
+		<fileset dir="${esb.product.lib.dir}" includes="*.jar" /> <!-- Product Jars. -->
+	</path>
+
+	<path id="exec-classpath">
+		<pathelement location="." />
+        <pathelement location="${basedir}/src" />
+		<pathelement location="${classes}" />
+		<path refid="compile-classpath" />
+		<fileset dir="${org.jboss.esb.server.home}/server/default/lib" includes="jboss-j2ee.jar" /> <!-- Required for JMS Client Code. -->
+	</path>
+    <path id="quickstart-dependencies-classpath">
+        <fileset dir="${basedir}/lib" includes="*.jar" /> <!-- Quickstart Specific Jars. -->
+    </path>
+	
+    <target name="compile">
+		<mkdir dir="${classes}" />
+		<javac srcdir="${basedir}/src" destdir="${classes}">
+			<classpath refid="compile-classpath" />
+		</javac>
+	</target>
+	
+	<target name="config"/>
+
+	<target name="run" depends="compile,config">
+		<description>	run				will run the quickstart in standalone mode
+		</description>
+		<echo>Launching Quickstart in standalone mode...</echo>
+		<java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
+			<arg value="${basedir}/jboss-esb.xml" />
+			<classpath refid="exec-classpath" />
+		</java>
+	</target>
+
+    <target name="deployToSAR">
+        <echo message='******************' />
+        <echo message='DEPRECATED!!  Sorry, this target has been deprecated for Quickstart Deployment.' />
+        <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}' />
+        <echo message='******************' />
+        <fail />
+    </target>
+
+    <target name="deploy" depends="compile">
+		<description>deploy				will deploy the Quickstart .esb archive to JBoss ESB Server
+    	</description>
+		<echo>Deploying Quickstart to JBoss ESB Server...</echo>
+
+        <mkdir dir="${build.dir}/META-INF" />
+        <copy todir="${build.dir}/META-INF">
+            <fileset dir="${basedir}" includes="jboss-esb.xml" />
+        </copy>
+        <copy todir="${build.dir}">
+            <fileset dir="${basedir}" includes="deployment.xml" />
+        </copy>
+
+        <antcall target="quickstart-specific-assemblies" />
+    	
+        <antcall target="jar" />
+    	
+        <antcall target="deploy-esb-archive-before" />
+        <antcall target="quickstart-specific-deploys" />
+        <antcall target="deploy-esb-archive-after" />
+
+        <echo message='${line.separator}******************' />
+        <echo>Quickstart deployed to target JBoss ESB Server at '${org.jboss.esb.server.deploy.dir}'.</echo>
+        <echo>1.  Check your ESB Server console to make sure the deployment was executed without errors.</echo>
+        <echo>2.  Run 'ant runtest' to run the Quickstart.</echo>
+        <echo>3.  Check your ESB Server console again.  The Quickstart should have produced some output.</echo>
+        <echo message='******************' />
+
+    </target>
+	
+	<target name="jar" depends="compile">
+		<jar destfile="${build.dir}/${ant.project.name}.esb">
+		           <fileset dir="${build.dir}/classes" />
+		           <fileset dir="${build.dir}" includes="*.jar,*.war"/>
+		           <fileset dir="${build.dir}" includes="deployment.xml"/>
+		           <fileset dir="${build.dir}" includes="META-INF/**" />
+		           <!--fileset dir="${basedir}/src" excludes="**/*.java" /-->
+		           <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
+		           <fileset dir="${basedir}" includes="${additional.deploys}" excludes="build/**" />
+        </jar>
+	</target>
+	
+	<target name="undeploy">
+		<description>	undeploy			will undeploy the Quickstart .esb archive from JBoss ESB Server
+		</description>
+        <delete file="${org.jboss.esb.server.deploy.dir}/${ant.project.name}.esb"  quiet="false"/>        
+	</target>
+
+    <target name="quickstart-specific-assemblies">
+        <!-- Override this target in the Quickstart in order to make Quickstart specific assemblies. -->
+        <echo message="No Quickstart specific assembly tasks." />
+    </target>
+
+    <target name="quickstart-specific-deploys">
+        <!-- Override this target in the Quickstart in order to make Quickstart specific deployments. -->
+        <echo message="No Quickstart specific deployments being made." />
+    </target>
+
+    <target name="assert-ws-available">
+        <available property="ws-available" file="${org.jboss.esb.server.deploy.dir}/jbossws.sar" type="dir" />
+        <fail unless="ws-available">**** DEPLOYMENT FAILED... Sorry, this Quickstart requires a JBoss Webservice container.  '${org.jboss.server.dir}' does not have a Webservice container.  Check the 'jbosshome.dir' property in ../quickstarts.properties"</fail>
+        <echo message="JBoss Webservice container found on target '${org.jboss.esb.server.deploy.dir}'." />
+    </target>
+
+    <target name="deploy-esb-archive-before" unless="deploy-after">
+        <copy file="${build.dir}/${ant.project.name}.esb" overwrite="true" todir="${org.jboss.esb.server.deploy.dir}" />
+    </target>
+	
+    <target name="deploy-esb-archive-after" if="deploy-after">
+        <copy file="${build.dir}/${ant.project.name}.esb" overwrite="true" todir="${org.jboss.esb.server.deploy.dir}" />        
+    </target>
+	
+	<target name="deploy-jms-dests">
+		<description>deploy-jms-dests		will deploy the jms destinations for application server
+		</description>
+		
+        <copy file="${pwd}/jms/${jms.destinations.file}" overwrite="true" todir="${org.jboss.esb.server.deploy.dir}" />
+	</target>
+
+	<target name="undeploy-jms-dests">
+		<description>undeploy-jms-dests		will undeploy the jms destination for application server
+		</description>
+        <delete file="${org.jboss.esb.server.deploy.dir}/${jms.destinations.file}"/>
+	</target>
+	
+    <target name="echoCP">
+		<property name="cp" refid="exec-classpath" />
+		<echo message="Classpath is ${cp}" />
+	</target>
+	
+	<target name="echoPaths">
+		<echo>
+			pwd : ${pwd}
+			quickstarts.dir : ${quickstarts.dir}
+			product.dir : ${product.dir}
+			install.dir : ${install.dir}
+			esb.product.lib.dir : ${esb.product.lib.dir}
+			org.jboss.esb.server.home : ${org.jboss.esb.server.home}
+			org.jboss.esb.server.config : ${org.jboss.esb.server.config}
+			org.jboss.esb.jboss.server.deploy.dir : ${org.jboss.esb.server.deploy.dir}
+			jms.destinations.file : ${jms.destinations.file}
+		</echo>
+	</target>
+
+	<target name="clean">
+		<description>clean				cleans the project
+		</description>
+		<delete dir="${build.dir}" />
+		<delete>
+			<fileset dir="${basedir}">
+				<include name="jbossesb-gateway.xml"/>	
+				<include name="jbossesb-listener.xml"/>	
+			</fileset>
+		</delete>
+	</target>
+	
+	<target name="help-quickstarts">
+			<description>help-quickstarts		display information about configuration for all quickstarts </description>
+			<loadfile
+			      property="readme"
+			      srcFile="${pwd}/readme.txt">
+		    </loadfile>
+			<echo>${readme}</echo>
+		</target>
+	
+	<target name="help">
+		<description>
+		help				will print the project description
+			
+		</description>
+		<loadfile
+		      property="readme"
+		      srcFile="readme.txt">
+	    </loadfile>
+		<echo>${readme}</echo>
+	</target>
+	
+</project>

Added: labs/jbossesb/trunk/product/samples/quickstarts/conf/jms/esb-quickstart-jbm-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/conf/jms/esb-quickstart-jbm-service.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/conf/jms/esb-quickstart-jbm-service.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,327 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+  
+	<loader-repository>jboss.messaging:loader=ScopedLoaderRepository
+		<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
+	</loader-repository>
+  
+	<mbean code="org.jboss.jms.server.destination.QueueService"
+		name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request"
+		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.messaging.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.messaging.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.messaging.destination:service=Queue,name=quickstart_helloworld_action_Request"
+		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.messaging.destination:service=Queue,name=quickstart_helloworld_action_Response"
+		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.messaging.destination:service=Queue,name=quickstart_helloworld_db_registration"
+		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.messaging.destination:service=Queue,name=quickstart_helloworld_file_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.messaging.destination:service=Queue,name=quickstart_helloworld_ftp_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.messaging.destination:service=Queue,name=quickstart_scripting_groovy_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.messaging.destination:service=Queue,name=quickstart_scripting_groovy_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.messaging.destination:service=Queue,name=quickstart_edi_groovy_xslt_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.messaging.destination:service=Queue,name=quickstart_edi_groovy_xslt_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.messaging.destination:service=Queue,name=quickstart_transform_pojo_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.messaging.destination:service=Queue,name=quickstart_transform_pojo_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.messaging.destination:service=Queue,name=quickstart_date_manipulation_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.messaging.destination:service=Queue,name=quickstart_date_manipulation_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.messaging.destination:service=Queue,name=quickstart_transform_simple_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.messaging.destination:service=Queue,name=quickstart_transform_simple_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.messaging.destination:service=Queue,name=quickstart_webservice_jbossws_adapter_01_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.messaging.destination:service=Queue,name=quickstart_webservice_jbossws_adapter_01_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.messaging.destination:service=Queue,name=quickstart_webservice_jbossws_adapter_01_esb_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="jboss.messaging.destination:service=Queue,name=quickstart_webservice_war1_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.messaging.destination:service=Queue,name=quickstart_webservice_war1_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="jboss.messaging.destination:service=Queue,name=quickstart_simple_transformation_Request"
+    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.messaging.destination:service=Queue,name=quickstart_simple_transformation_Response"
+    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.messaging.destination:service=Queue,name=quickstart_simple_cbr_Request"
+    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.messaging.destination:service=Queue,name=CBRExpressFreeShipping"
+    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.messaging.destination:service=Queue,name=CBRNormalShipping"
+    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.messaging.destination:service=Queue,name=CBRExpressFreeShippingAlert"
+    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.messaging.destination:service=Queue,name=CBRNormalShippingAlert"
+    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.messaging.destination:service=Queue,name=quickstart_more_action_Request"
+    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.messaging.destination:service=Queue,name=quickstart_more_action_Response"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+	<depends>jboss.messaging:service=PostOffice</depends>
+  </mbean>
+  <!-- Fun CBR Demo -->
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.messaging.destination:service=Queue,name=quickstart_Fun_CBR_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.messaging.destination:service=Queue,name=quickstart_Fun_CBR_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.messaging.destination:service=Queue,name=quickstart_Fun_CBR_ToBlue"
+    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.messaging.destination:service=Queue,name=quickstart_Fun_CBR_Blue_Alert"
+    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.messaging.destination:service=Queue,name=quickstart_Fun_CBR_ToRed"
+    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.messaging.destination:service=Queue,name=quickstart_Fun_CBR_Red_Alert"
+    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.messaging.destination:service=Queue,name=quickstart_Fun_CBR_ToGreenTransformer"
+    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.messaging.destination:service=Queue,name=quickstart_Fun_CBR_ToGreen"
+    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.messaging.destination:service=Queue,name=quickstart_Fun_CBR_Green_Alert"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+	<depends>jboss.messaging:service=PostOffice</depends>
+  </mbean>
+  <!-- Aggregator Demo -->
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.messaging.destination:service=Queue,name=quickstart_Aggregator_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.messaging.destination:service=Queue,name=quickstart_Aggregator_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.messaging.destination:service=Queue,name=quickstart_Aggregator_ToBlue"
+    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.messaging.destination:service=Queue,name=quickstart_Aggregator_Blue_Alert"
+    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.messaging.destination:service=Queue,name=quickstart_Aggregator_ToRed"
+    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.messaging.destination:service=Queue,name=quickstart_Aggregator_Red_Alert"
+    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.messaging.destination:service=Queue,name=quickstart_Aggregator_ToGreen"
+    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.messaging.destination:service=Queue,name=quickstart_Aggregator_Green_Alert"
+    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/conf/jms/esb-quickstart-jbmq-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/conf/jms/esb-quickstart-jbmq-service.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/conf/jms/esb-quickstart-jbmq-service.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,285 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		 name="jboss.mq.destination:service=Queue,name=quickstart_helloworld_Request">
+	  <depends optional-attribute-name="DestinationManager">
+		jboss.mq:service=DestinationManager
+	  </depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		 name="jboss.mq.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.mq.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.mq.destination:service=Queue,name=quickstart_helloworld_action_Request">
+	  <depends optional-attribute-name="DestinationManager">
+		jboss.mq:service=DestinationManager
+	  </depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.mq.destination:service=Queue,name=quickstart_helloworld_action_Response">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_db_registration">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_file_esb">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.mq.destination:service=Queue,name=quickstart_helloworld_ftp_esb">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.mq.destination:service=Queue,name=quickstart_scripting_groovy_gw">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.mq.destination:service=Queue,name=quickstart_scripting_groovy_esb">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.mq.destination:service=Queue,name=quickstart_edi_groovy_xslt_gw">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.mq.destination:service=Queue,name=quickstart_edi_groovy_xslt_esb">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.mq.destination:service=Queue,name=quickstart_transform_pojo_gw">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.mq.destination:service=Queue,name=quickstart_transform_pojo_esb">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.mq.destination:service=Queue,name=quickstart_date_manipulation_gw">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.mq.destination:service=Queue,name=quickstart_date_manipulation_esb">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.mq.destination:service=Queue,name=quickstart_transform_simple_gw">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+		name="jboss.mq.destination:service=Queue,name=quickstart_transform_simple_esb">
+		<depends optional-attribute-name="DestinationManager">
+			jboss.mq:service=DestinationManager
+		</depends>
+	</mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+           name="jboss.mq.destination:service=Queue,name=quickstart_webservice_jbossws_adapter_01_gw">
+        <depends optional-attribute-name="DestinationManager">
+            jboss.mq:service=DestinationManager
+        </depends>
+    </mbean>
+
+    <mbean code="org.jboss.mq.server.jmx.Queue"
+           name="jboss.mq.destination:service=Queue,name=quickstart_webservice_jbossws_adapter_01_esb">
+        <depends optional-attribute-name="DestinationManager">
+            jboss.mq:service=DestinationManager
+        </depends>
+    </mbean>
+
+    <mbean code="org.jboss.mq.server.jmx.Queue"
+           name="jboss.mq.destination:service=Queue,name=quickstart_webservice_jbossws_adapter_01_esb_reply">
+        <depends optional-attribute-name="DestinationManager">
+            jboss.mq:service=DestinationManager
+        </depends>
+    </mbean>
+
+	<mbean code="org.jboss.mq.server.jmx.Queue"
+           name="jboss.mq.destination:service=Queue,name=quickstart_webservice_war1_esb">
+        <depends optional-attribute-name="DestinationManager">
+            jboss.mq:service=DestinationManager
+        </depends>
+    </mbean>
+    <mbean code="org.jboss.mq.server.jmx.Queue"
+           name="jboss.mq.destination:service=Queue,name=quickstart_webservice_war1_esb_reply">
+        <depends optional-attribute-name="DestinationManager">
+            jboss.mq:service=DestinationManager
+        </depends>
+    </mbean>
+
+
+<mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_simple_transformation_Request">
+  <depends optional-attribute-name="DestinationManager">
+  	jboss.mq:service=DestinationManager
+  </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_simple_transformation_Response">
+  <depends optional-attribute-name="DestinationManager">
+  	jboss.mq:service=DestinationManager
+  </depends>
+</mbean>
+<mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_simple_cbr_Request">
+  <depends optional-attribute-name="DestinationManager">
+  	jboss.mq:service=DestinationManager
+  </depends>
+</mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=CBRExpressFreeShipping">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=CBRNormalShipping">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=CBRExpressFreeShippingAlert">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=CBRNormalShippingAlert">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>  
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_more_action_Request">
+  <depends optional-attribute-name="DestinationManager">
+  	jboss.mq:service=DestinationManager
+  </depends>
+  </mbean> 
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_more_action_Response">
+  <depends optional-attribute-name="DestinationManager">
+  	jboss.mq:service=DestinationManager
+  </depends>
+   </mbean>
+  <!-- Fun CBR Demo -->
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_Request_GW">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_Request_ESB">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_ToBlue">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_Blue_Alert">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_ToRed">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_Red_Alert">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_ToGreenTransformer">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_ToGreen">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_Green_Alert">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  
+    <!-- Aggregator Demo -->
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_Request_GW">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_Request_ESB">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_ToBlue">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_Blue_Alert">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_ToRed">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_Red_Alert">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_ToGreen">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_Green_Alert">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+</server>

Added: labs/jbossesb/trunk/product/samples/quickstarts/conf/quickstarts.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/conf/quickstarts.properties	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/conf/quickstarts.properties	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,18 @@
+##############################################################################################
+# Environment specific properties for executing the quickstarts.
+##############################################################################################
+# Location of your JBoss Application Server installation.
+#org.jboss.esb.server.home=${product.dir}/build/jbossesb-server-4.2.MR1
+#jbosshome.dir=/opt/jboss/as/esb_quickstart
+#org.jboss.esb.server.home=/opt/jboss/as/esb_quickstart
+
+# JBossAS server name. If not set defaults to 'default'
+#org.jboss.esb.server.config=default
+#org.jboss.esb.server.config=quickstarts
+
+
+# If you are running the ftp tests then you must complete the following
+jbossesb.ftp.hostname=localhost
+jbossesb.ftp.username=sifo
+jbossesb.ftp.password=sifo
+jbossesb.ftp.directory=/home/sifo/input

Added: labs/jbossesb/trunk/product/samples/quickstarts/conf/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/conf/readme.txt	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/conf/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,65 @@
+Quickstarts information:
+========================
+	The quickstarts come in two forms: 
+	1. standalone mode which is started by 'ant run'
+	2. '.esb' package which is deployed to an application server by running 'ant deploy'.
+
+Before Running:
+===============
+	Non Bundled: 
+    1. Copy install/deployment.properties-example to install/deployment.properties and modify the
+	   properties there to suite your environment[*]. 
+    2. Run 'ant deploy' in the "install" folder of the distribution.  This
+       deploys the required SARs to your JBoss Application Server instance.
+    3. Make sure the JBoss Application server is running.
+
+	Bundled: 
+    1. Copy install/deployment.properties-example to install/deployment.properties and modify the
+	   properties there to suite your environment[*]. 
+    2. Run 'ant install' in the "install" folder of the distribution.  This
+       target will unpack the JBoss Application Server to the localtion you specified in step 1
+    2. Run 'ant deploy' in the "install" folder of the distribution.  This
+       deploys the required SARs to your JBoss Application Server instance.
+    4. Make sure the JBoss Application server is running.
+
+[*]
+It is often a good ide to copy the default server configuration to a different name
+so that you can easily start a fresh by simply deleting it. This also makes it simple
+to diff both directories to find differences if problems occurr. 
+So, if you copied the default server configuration use the new configurtion name for the property 
+'org.jboss.esb.server.config' in install/deployment.properties.
+You can optionally edit samples/quickstarts/conf/quickstarts.properties if you want to run the
+quickstarts against a different server then the one specified in step 1  above.
+
+To Run standalone mode:
+=======================
+    1.	In a command terminal window in the quickstart folder type 'ant deploy-jms-queues'.
+		See the section "Notes about JMS" for more information.	
+    2.	In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.	Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.	Switch back to "Window1" to see the output from the ESB
+	5.	Run 'ant help' to get a description about the specific quickstart.
+
+To Run '.esb' archive mode:
+===========================
+    1. 	In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-queues'.
+    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
+
+Notes about JMS:
+================
+	The standalone ESB uses JMS provided by a JBoss Application Server instance. This means
+	that jms queues must be configured before running :
+	'ant deploy-jms'
+
+	A '.esb' package is self-contained and has queue definitions that it needs in the 'esb'
+	archive. 
+	Since we wanted to show you that the jboss-esb.xml configuration is the same for both modes 
+	of running the ESB the queue names are the same which means that if you have run the standalone
+	mode and want to try the '.esb. archive mode you need to run : 
+	'ant undeploy-jms'
+
+More information about the quickstart can be found in the GettingStarted.pdf document, which is in 
+the doc folder.
+

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/esb-quickstart-jbm-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/esb-quickstart-jbm-service.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/esb-quickstart-jbm-service.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,165 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
-  
-  <loader-repository>jboss.messaging:loader=ScopedLoaderRepository
-    <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
-  </loader-repository>
-  
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request_esb"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request_gw"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_action_Request"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_action_Response"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_simple_transformation_Request"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_simple_transformation_Response"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_simple_cbr_Request"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=CBRExpressFreeShipping"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=CBRNormalShipping"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=CBRExpressFreeShippingAlert"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=CBRNormalShippingAlert"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_more_action_Request"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_more_action_Response"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <!-- Fun CBR Demo -->
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Fun_CBR_Request_GW"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Fun_CBR_Request_ESB"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Fun_CBR_ToBlue"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Fun_CBR_Blue_Alert"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Fun_CBR_ToRed"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Fun_CBR_Red_Alert"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Fun_CBR_ToGreenTransformer"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Fun_CBR_ToGreen"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Fun_CBR_Green_Alert"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <!-- Aggregator Demo -->
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Aggregator_Request_GW"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Aggregator_Request_ESB"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Aggregator_ToBlue"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Aggregator_Blue_Alert"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Aggregator_ToRed"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Aggregator_Red_Alert"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Aggregator_ToGreen"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-  <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_Aggregator_Green_Alert"
-    xmbean-dd="xmdesc/Queue-xmbean.xml">
-    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
-  </mbean>
-</server>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/esb-quickstart-jbmq-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/esb-quickstart-jbmq-service.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/esb-quickstart-jbmq-service.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,153 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
-<mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_helloworld_Request">
-  <depends optional-attribute-name="DestinationManager">
-  	jboss.mq:service=DestinationManager
-  </depends>
-</mbean>
-<mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.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.mq.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.mq.destination:service=Queue,name=quickstart_helloworld_action_Request">
-  <depends optional-attribute-name="DestinationManager">
-  	jboss.mq:service=DestinationManager
-  </depends>
-</mbean>
-<mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_helloworld_action_Response">
-  <depends optional-attribute-name="DestinationManager">
-  	jboss.mq:service=DestinationManager
-  </depends>
-</mbean>
-<mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_simple_transformation_Request">
-  <depends optional-attribute-name="DestinationManager">
-  	jboss.mq:service=DestinationManager
-  </depends>
-</mbean>
-<mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_simple_transformation_Response">
-  <depends optional-attribute-name="DestinationManager">
-  	jboss.mq:service=DestinationManager
-  </depends>
-</mbean>
-<mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_simple_cbr_Request">
-  <depends optional-attribute-name="DestinationManager">
-  	jboss.mq:service=DestinationManager
-  </depends>
-</mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=CBRExpressFreeShipping">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=CBRNormalShipping">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=CBRExpressFreeShippingAlert">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=CBRNormalShippingAlert">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>  
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_more_action_Request">
-  <depends optional-attribute-name="DestinationManager">
-  	jboss.mq:service=DestinationManager
-  </depends>
-  </mbean> 
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_more_action_Response">
-  <depends optional-attribute-name="DestinationManager">
-  	jboss.mq:service=DestinationManager
-  </depends>
-   </mbean>
-  <!-- Fun CBR Demo -->
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_Request_GW">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_Request_ESB">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_ToBlue">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_Blue_Alert">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_ToRed">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_Red_Alert">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_ToGreenTransformer">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_ToGreen">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Fun_CBR_Green_Alert">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  
-    <!-- Aggregator Demo -->
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_Request_GW">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_Request_ESB">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_ToBlue">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_Blue_Alert">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_ToRed">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_Red_Alert">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_ToGreen">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-  <mbean code="org.jboss.mq.server.jmx.Queue"
-	 name="jboss.mq.destination:service=Queue,name=quickstart_Aggregator_Green_Alert">
-    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
-  </mbean>
-</server>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,65 +1,47 @@
 <project name="Quickstart_fun_cbr" default="run" basedir=".">
-
- <property file="../quickstarts.properties" />
-
- <property name="build.dir"
-    value="${basedir}/build"/>
- <property name="src.dir"
-    value="${basedir}/src"/>
 	
-    <property name="esb-config-name" value="jboss-esb.xml"/>
-    <property name="esb-config" value="${basedir}/${esb-config-name}"/>
-  
-	<path id="classpath">
-    <fileset dir="${esb.product.lib.dir}" includes="*jar"/>
-	<fileset dir="${esb.product.lib.dir}" includes="*xml"/>
-	<fileset dir="${esb.product.lib.dir}/ext" includes="*jar"/>
-	<fileset dir="${basedir}" includes="smooks-cdr.lst"/>
-	<fileset dir="${basedir}" includes="smooks-res.xml"/>
-	<fileset dir="${jbosshome.dir}/client" includes="*jar"/>
-	<fileset dir="${jbosshome.dir}/server/default/lib">
-	  <include name="jboss-j2ee.jar"/> <!-- added this for the JMS client -->
-	 </fileset>		
-	<pathelement location="build" />
-    <fileset dir="${basedir}" includes="build/**/*.jar"/>
-  	<fileset dir="${basedir}" includes="build/**/*.xml"/>
-    <pathelement location="." />  
-  </path>
- 
-  <property name="cp" refid="classpath"/>
-  
-  <target name="echoCP">    
-  	<echo message="Classpath is ${cp}"/>
-  </target>
-  
-  <target name="prepare">
-	<mkdir dir="${build.dir}" />
-  </target>
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+		
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
+	
+	<property name="myrules.drl" value="MyESBRules-XPath.drl"/>
+	<property name="myrules.xpath.drl" value="XPathLanguage.dsl"/>
+	<property name="rules.jar.name" value="${build.dir}/${ant.project.name}_rules.jar"/>
+	
+    <property name="additional.deploys" value="${rules.jar.name}, build/classes/${myrules.drl}, build/classes/${myrules.xpath.drl}" />
+		
+	<path id="quickstart-dependencies-classpath">
+		<pathelement location="${rules.jar.name}" />  
+	</path>
+	
+	<target name="quickstart-specific-deploys" depends="config">
+        <echo message="jar rules to ${rules.jar.name}" />
+		<antcall target="jar"/>
+	    <jar destfile="${rules.jar.name}" basedir="${basedir}/src/services/rules" includes="*.*"/>
+        <copy 
+			todir="${org.jboss.esb.server.deploy.dir}/jbossesb.sar/lib" 
+			file="${rules.jar.name}"  />
+    </target>
+	
+	<target name="jar">
+	    <jar destfile="${rules.jar.name}" basedir="${basedir}/src/services/rules" includes="*.*"/>
+		<antcall target="base-build.jar"/>
+	</target> 
+	
+	<target name="config">
+        <copy todir="${basedir}/build/classes" >
+			<fileset dir="src/services/rules">
+				<include name="${myrules.drl}"/>	
+				<include name="${myrules.xpath.drl}"/>	
+			</fileset>
+		</copy>
+	</target>
 
-  <target name="clean">
-	<delete dir="${build.dir}" />
-  </target>
-
-  <target name="compile" depends="prepare">
-	<javac srcdir="${src.dir}"
-	   destdir="${build.dir}">
-	  <classpath refid="classpath"/>
- 	</javac>
-  </target>
-
-  <target name="jars" depends="compile">
-	<delete file="${build.dir}/${ant.project.name}.esb"/>
-  	<copy file="${esb-config-name}" tofile="${build.dir}/META-INF/${esb-config-name}"/>
-  	<copy file="jbm-queue-service.xml" tofile="${build.dir}/jbm-queue-service.xml"/>
-    <jar destfile="${build.dir}/${ant.project.name}.esb"
-		basedir="${build.dir}"
-		includes="**/*.class,META-INF/${esb-config-name},jbm-queue-service.xml"/>
-  	<!-- Rules files must be jarred and on the classpath -->
-    <jar destfile="${build.dir}/${ant.project.name}_Rules.jar"
-		basedir="${basedir}/src/services/rules" includes="*.*"/>
-  </target>
-
-  <target name="updateRules">
+  <target name="updateRules" description="update rules">
 	  	<!-- Rules files must be jarred and on the classpath -->
 	    <jar destfile="${build.dir}/${ant.project.name}_Rules.jar"
 			basedir="${basedir}/src/services/rules" includes="*.*"/>
@@ -68,53 +50,40 @@
 			todir="${jbosshome.dir}/server/default/deploy/jbossesb.sar/lib"	
 	  />
   </target>
-  <target name="run" depends="jars">
-	    <echo>Fun CBR: make sure to also run receiveBlue, receiveRed, receiveGreen</echo>
-			 <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">  
-		  	   	<arg value="${esb-config}"/>
-		  		<classpath refid="classpath"/>
-		  	 </java>
-  </target>
-
-  <target name="deploy" depends="jars">
-		    <echo>Deploys the project to the JBoss Application Server ESB SAR</echo>
-		  	<copy file="${build.dir}/${ant.project.name}.esb" overwrite="true"
-		  		todir="${jbosshome.dir}/server/default/deploy"	
-		  	/>
-		  	<copy file="${build.dir}/${ant.project.name}_Rules.jar" overwrite="true"
-  				todir="${jbosshome.dir}/server/default/deploy/jbossesb.sar/lib"	
-  			/>
-		  	<echo>Check your AS console to see if everything deployed properly then run 'ant runtest'</echo>
-  </target>
 	
-  <target name="runtest">
+  <target name="runtest" depends="compile"
+	description="willl receive JMS message to tigger the actions in the ESB">
      <echo>Runs Test JMS Sender</echo>
      <java fork="yes" classname="quickstart.test.SendJMSMessage" failonerror="true">
-		<classpath refid="classpath"/>
+		<classpath refid="exec-classpath" />
      </java>
   </target>  
 	
-  <target name="receiveBlue">
+  <target name="receiveBlue" depends="compile"
+	description="willl receive a message from the quickstart_FunCBR_Green_Blue queue">
 	 <echo>Runs Test JMS Receiver</echo>
 	 <java fork="yes" classname="quickstart.test.ReceiveJMSMessage" failonerror="true">
 	  	<arg value="queue/quickstart_Fun_CBR_Blue_Alert"/>
-		<classpath refid="classpath"/>
+		<classpath refid="exec-classpath" />
 	 </java>
   </target>  
 	
-  <target name="receiveRed">
+  <target name="receiveRed" depends="compile"
+	description="willl receive a message from the quickstart_FunCBR_Green_Red queue">
 	 <echo>Runs Test JMS Receiver</echo>
 	 <java fork="yes" classname="quickstart.test.ReceiveJMSMessage" failonerror="true">
 	   	<arg value="queue/quickstart_Fun_CBR_Red_Alert"/>
-		<classpath refid="classpath"/>
+		<classpath refid="exec-classpath" />
 	 </java>
    </target>  
 	
-  <target name="receiveGreen">
+  <target name="receiveGreen" depends="compile"
+	description="willl receive a message from the quickstart_FunCBR_Green_Alert queue">
 	 <echo>Runs Test JMS Receiver</echo>
 	 <java fork="yes" classname="quickstart.test.ReceiveJMSMessage" failonerror="true">
 	   	<arg value="queue/quickstart_Fun_CBR_Green_Alert"/>
-		<classpath refid="classpath"/>
+		<classpath refid="exec-classpath" />
 	 </java>
    </target> 
+	
 </project>
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,56 +1,67 @@
 Overview:
 =========
-    This example demonstrates the dynamic hot reloading/redeploy capability of both the jbossesb.xml configuration and the rules associated with the CBR (Content-based Routing). 
-The benefit of hot reloading means that the service does not have to come down in order
-to make a change. In addition, you can change the rules based upon current load situations scenarios.  This example has three "teams" of order processors.  All new orders that flow into the system are evaluated via the rules engine.  These routing rules will determine which team receives the order for actually processing.  In the case of the green team, the order is first transformed to a different format prior to routing. 
+	This example demonstrates the dynamic hot reloading/redeploy capability of both the jbossesb.xml configuration and the rules associated with 
+	the CBR (Content-based Routing). 
+	The benefit of hot reloading means that the service does not have to come down in order to make a change. In addition, you can change the 
+	rules based upon current load situations scenarios.  This example has three "teams" of order processors.  All new orders that flow into 
+	the system are evaluated via the rules engine.  These routing rules will determine which team receives the order for actually processing.  
+	In the case of the green team, the order is first transformed to a different format prior to routing. 
+	For standalone execution (running outside of an App Server) you will eventually need five (5) command windows running 
+	to execute this demonstration.
 
-Before Running:
-===============
-1. Update the "jbosshome.dir" property in the quickstarts.properties file in "../".
-2. Make sure the jbossesb.sar is deployed on your JBoss Application Server.
-   In the ESB "install" update deployment.properties and then run "ant".
-3. Make sure the JBoss Application server is running.
-4. For standalone execution (running outside of an App Server) you will eventually
-   need five (5) command windows running to execute this demonstration.
-5. All of the quickstarts rely heavily on Ant to configure the classpath and execute
-   the demonstration components.
-6. Make sure you have deployed the JMS destinations described in the 
-   esb-quickstart-service.xml by dropping this file into the JBoss AS deploy directory.
+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.
 
-To Run:
-=======
-1. In the first command window execute "ant clean". This removes the build folder from the project.
-2. In the first command window execute "ant compile" then "ant jars". These steps compile the Java sources and create the appropriate jar files. You should notice that their are two jar files for this example. The additional jar file is for the Rules files.  If you review the build.xml you should see there is a task called "updateRules" that will rebuild this jar file individually. This is useful for testing the redeployment of Rules without bringing down the overall ESB.
-3. Now, in the first command window, execute "ant" to bring up the ESB for this set of services. 
-4. In the command windows 2, 3 and 4 run "ant receiveBlue", "ant receiveRed" and "ant receiveGreen" respectively.  These are simply JMS queue listeners that will simply display any messages they receive to their console windows. Think of these simple JMS receivers as actual customer service teams within an organization.  The routing depends on the statusCode attribute in the SampleOrder.xml file.  It would be relatively simple to modify this example to include a service (listener & action combination) to introduce "scoring" rules logic that sets the status code of the message prior to sending it on to the CBR.
-5. In the fifth command window execute "ant runtest".  This will take a copy of SampleOrder.xml and shoot it into the primary JMS queue for this sample - quickstart_Fun_CBR_Request_GW. Open the MyESBRules-XPath.drl file and review the actual routing rules:
-	rule "Red Routing Rule using XPATH"	
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-queues'.
+	1.	In the first command window execute "ant clean". This removes the build folder from the project.
+	3.	In the first command window execute "ant compile" then "ant jar". These steps compile the Java sources and create the appropriate 
+		jar files. You should notice that their are two jar files for this example. The additional jar file is for the Rules files.  If you 
+		review the build.xml you should see there is a task called "updateRules" that will rebuild this jar file individually. This is useful 
+		for testing the redeployment of Rules without bringing down the overall ESB.
+	3.	Now, in the first command window, execute "ant" to bring up the ESB for this set of services. 
+	4.	In the command windows 2, 3 and 4 run "ant receiveBlue", "ant receiveRed" and "ant receiveGreen" respectively.  These 
+		are simply JMS queue listeners that will simply display any messages they receive to their console windows. Think of these 
+		simple JMS receivers as actual customer service teams within an organization.  The routing depends on the statusCode attribute 
+		in the SampleOrder.xml file.  
+		It would be relatively simple to modify this example to include a service (listener & action combination) to introduce "scoring" 
+		rules logic that sets the status code of the message prior to sending it on to the CBR.
+	5.	In the fifth command window execute "ant runtest".  This will take a copy of SampleOrder.xml and shoot it into the primary JMS 
+		queue for this sample - quickstart_Fun_CBR_Request_GW. 
+		Open the MyESBRules-XPath.drl file and review the actual routing rules:
+		rule "Red Routing Rule using XPATH"	
 		when
 			xpathEquals "/Order/@statusCode", "1"
 		then 
 	  	  Log : "Red Team";
 			  Destination : "RedTeam:GoRed";		
-	end
-6. Open the SampleOrder.xml file and modify the statusCode to equal 0 or 2 and re-execute "ant runtest" to see that it properly routes to the correct endpoint.
-7. Open MyESBRules-XPath.drl and change the routes to the following:
-Blue for statusCode="1"
-Red for statusCode="2"
-Green for statusCode="0"
-Note: If you are using the JBossIDE 2.0 there is a great JBoss Rules editor which provides syntax highlighting and correction assistance.
-8. In the fifth command window execute "ant updateRules" and then "ant runtest". You should see that the routes associated with the message flow have dynamically changed.
-9. Open the jbossesb.xml and insert the following actions to transform the inbound XML message to a POJO and then the POJO to a simple ASCII message in the Green Team's service.  Make sure to inject the transformer before the notification action.
+		end
+	6.	Open the SampleOrder.xml file and modify the statusCode to equal 0 or 2 and re-execute "ant runtest" to see that it properly 
+		routes to the correct endpoint.
+	7.	Open MyESBRules-XPath.drl and change the routes to the following:
+		Blue for statusCode="1"
+		Red for statusCode="2"
+		Green for statusCode="0"
+		Note: If you are using the JBossIDE 2.0 there is a great JBoss Rules editor which provides syntax highlighting and correction assistance.
+	8.	In the fifth command window execute "ant updateRules" and then "ant runtest". You should see that the routes associated with 
+		the message flow have dynamically changed.
+	9.	Open the jbossesb.xml and insert the following actions to transform the inbound XML message to a POJO and then the POJO to a simple 
+		ASCII message in the Green Team's service. Make sure to inject the transformer before the notification action:
 
-  <action name="transform" 
-    class="org.jboss.soa.esb.actions.converters.SmooksTransformer">
- 		<property name="from" value="DVDStore:OrderDispatchService" />
-		<property name="from-type" value="text/xml:fullFillOrder" />
-		<property name="to" value="DVDWarehouse_1:OrderHandlingService" />
-  	<property name="to-type" value="text/xml:shipOrder" />
- </action>
- <action name="convertPOJO2Message" 
-   class="org.jboss.soa.esb.dvdstore.DVDStoreAction"	/>	
- <action name="displayAfterTransformer" 
-   class="quickstart.MyJMSListenerAction" process="displayMessage" />  
+		  <action name="transform" 
+			class="org.jboss.soa.esb.actions.converters.SmooksTransformer">
+				<property name="from" value="DVDStore:OrderDispatchService" />
+				<property name="from-type" value="text/xml:fullFillOrder" />
+				<property name="to" value="DVDWarehouse_1:OrderHandlingService" />
+				<property name="to-type" value="text/xml:shipOrder" />
+		 </action>
+		 <action name="convertPOJO2Message" class="org.jboss.soa.esb.dvdstore.DVDStoreAction/>	
+		 <action name="displayAfterTransformer" 
+		   class="quickstart.MyJMSListenerAction" process="displayMessage" />  
 
-10. In the fifth command window, make sure to modify the SampleOrder.xml to change statusCode to 0 (or to whatever is appropriate per your routing rules) then execute "ant runtest" to see the transformed message in the Green Team's console.
+	10.	In the fifth command window, make sure to modify the SampleOrder.xml to change statusCode to 0 (or to whatever is appropriate 
+	per your routing rules) then execute "ant runtest" to see the transformed message in the Green Team's console.
 

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/base-build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/base-build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,81 +0,0 @@
-<project name="Base" default="run" basedir=".">
-
-	<property file="../quickstarts.properties" />
-
-    <property name="additional.deploys" value="" />
-
-    <property name="classes" value="build/classes" />
-
-	<path id="compile-classpath">
-		<fileset dir="lib" includes="*.jar" /> <!-- Quickstart Specific Jars. -->
-		<fileset dir="../../../lib/ext" includes="*.jar" /> <!-- Product Dependencies. -->
-		<fileset dir="${esb.product.lib.dir}" includes="*.jar" /> <!-- Product Jars. -->
-	</path>
-	<path id="exec-classpath">
-		<pathelement location="." />
-		<pathelement location="build/classes" />
-        <pathelement location="src" />
-		
-		<path refid="compile-classpath" />
-		<fileset dir="${jbosshome.dir}/server/default/lib" includes="jboss-j2ee.jar" /> <!-- Required for JMS Client Code. -->
-	</path>
-
-	<target name="compile" depends="clean">
-		<mkdir dir="${classes}" />
-		<javac srcdir="src" destdir="${classes}">
-			<classpath refid="compile-classpath" />
-		</javac>
-	</target>
-
-	<target name="run" depends="compile">
-		<echo>Launching Quickstart in standalone mode...</echo>
-		<java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
-			<arg value="./jboss-esb.xml" />
-			<classpath refid="exec-classpath" />
-		</java>
-	</target>
-
-    <target name="deployToSAR">
-        <echo message='******************' />
-        <echo message='DEPRECATED!!  Sorry, this target has been deprecated for Quickstart Deployment.' />
-        <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}' />
-        <echo message='******************' />
-        <fail />
-    </target>
-
-    <target name="deploy" depends="compile">
-		<echo>Deploying Quickstart to JBoss ESB Server...</echo>
-
-        <mkdir dir="build/META-INF" />
-        <copy todir="build/META-INF">
-            <fileset dir="./" includes="jboss-esb.xml,deployment.xml" />
-        </copy>
-
-        <jar destfile="build/${ant.project.name}.esb">
-           <fileset dir="build/classes" />
-           <fileset dir="src" excludes="**/*.java" />
-           <fileset dir="build" includes="META-INF/**" />
-           <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
-        </jar>
-
-        <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/" />
-
-        <echo message='${line.separator}******************' />
-        <echo>Quickstart deployed to target JBoss ESB Server at '${jbosshome.dir}'.</echo>
-        <echo>1.  Check your ESB Server console to make sure the deployment was executed without errors.</echo>
-        <echo>2.  Run 'ant runtest' to run the Quickstart.</echo>
-        <echo>3.  Check your ESB Server console again.  The Quickstart should have produced some output.</echo>
-        <echo message='******************' />
-
-    </target>
-
-	<target name="echoCP">
-		<property name="cp" refid="exec-classpath" />
-		<echo message="Classpath is ${cp}" />
-	</target>
-
-	<target name="clean">
-		<delete dir="build" />
-	</target>
-
-</project>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,9 +1,15 @@
-<project name="Quickstart_helloworld" default="runtest" basedir=".">
+<project name="Quickstart_helloworld" default="run" basedir=".">
 	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+	
 	<!-- Import the base Ant build script... -->
-	<import file="base-build.xml"/>
+	<import file="../conf/base-build.xml"/>
 	
-	<target name="runtest" depends="compile">
+	<target name="runtest" depends="compile" 
+		description="sends a JMS message to queue/quickstart_helloworld_Request_gw">
 		<echo>Runs Test JMS Sender</echo>
 		<java fork="yes" classname="quickstart.helloworld.test.SendJMSMessage" failonerror="true">
 			<arg value="Hello World"/>
@@ -11,7 +17,8 @@
 		</java>
 	</target>  
 	
-	<target name="sendesb" depends="compile">
+	<target name="sendesb" depends="compile"
+		description="Will send an esb Message">
 		<echo>Runs Test ESB Message Sender</echo>
 		<java fork="yes" classname="quickstart.helloworld.test.SendEsbMessage" failonerror="true">
 			<arg value="FirstServiceESB"/> <!--  service category -->
@@ -21,4 +28,4 @@
 		</java>
 	</target>
 	
-</project>
\ No newline at end of file
+</project>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service-scoped.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service-scoped.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service-scoped.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -9,10 +9,12 @@
     name="jboss.messaging.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.messaging.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>
 </server>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/log4j.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/log4j.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/log4j.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -65,7 +65,7 @@
       <priority value="ERROR"/>
    </category>
    <category name="quickstart">
-      <priority value="INFO"/>
+      <priority value="DEBUG"/>
    </category>
    <!-- ======================= -->
    <!-- Setup the Root category -->

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,52 +1,77 @@
-The purpose of the helloworld quickstart sample is to prove that the ESB is 
-properly configured and happy.  As well as to demonstrate the needed minimal
-files to make a basic ESB component execute.
+Overview:
+=========
+	The purpose of the helloworld quickstart sample is to prove that the ESB is 
+	properly configured and happy.  As well as to demonstrate the needed minimal
+	files to make a basic ESB component execute.
 
-In a command prmompt window, start the listeners by simply running "ant" 
-in this directory.  You might review the build.xml file to see how it is setup. 
-More details on the build.xml can be found later in this document.  Shutdown
-the listener by simply using Cntrl-C in that window.
+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.
 
-In a separate command prompt window, run "ant runtest" to shoot a JMS message
-into the listener which will then invoke the MyJMSListenerAction and display
-it to the console.  You can modify the build.xml to change the phrase 
-"Hello World" to something else and re-run "ant runtest".
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-dests'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to "Window1" to see the output from the ESB
 
-This document does assume you have read the "readme.txt" in the main quickstarts folder 
-and have followed the instructions to deploy the necessary queues.  This example uses the
-queue called "quickstart_helloworld_Request".
+To Run '.esb' archive mode:
+===========================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
+    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
 
+	'run' target description:
+	In a command prmompt window, start the listeners by simply running "ant" 
+	in this directory.  You might review the build.xml file to see how it is setup. 
+	More details on the build.xml can be found later in this document.  Shutdown
+	the listener by simply using Ctrl-C in that window.
+
+	'runtest' target description:
+	In a separate command prompt window, run "ant runtest" to shoot a JMS message
+	into the listener which will then invoke the MyJMSListenerAction and display
+	it to the console.  You can modify the build.xml to change the phrase 
+	"Hello World" to something else and re-run "ant runtest".
+
 Project file descriptions:
-* build.xml - the ant build script. 
-* jbossesb.xml - the JMS gateway and ESB configuration file. It is listening
-for JMS ObjectMessages or TextMessages at "queue/quickstart_helloworld_Request".
-Messages received at "quickstart_helloworld_Request" are converted
-* jbossesb-properties.xml - also needed by jUDDI and needs to be at the 
-head of the classpath.  Both juddi.properties and jbossesb-properties.xml are
-used when the service first boots up for self-registration based upon the 
-service-category and service-name found in the esb-config.xml file.
-* jndi.properties - needed primarily for quickstart.test.SendJMSMessage that
-is fired by ant runtest.
-* log4j.xml - needed to configure log4J used by both the quickstart and the ESB
-itself.  A listener needs a place to log.
-* src\quickstart\MyJMSListenerAction.java - the action class that is identified
-in the esb-config.xml file and is called whenever a message is received.  
-* src\quickstart\helloworld\test\SendJMSMessage.java - shoots in the string passed in via
-the command line or in this case the arg attribute in the ant runtest task.
-* src\quickstart\helloworld\test\SendEsbMessage.java - shoots in the string passed in
-via the command line or in this case the arg atribute in the ant sendesb task.
-This demonstrates how to build an "ESB aware" client that can invoke an ESB service.
+==========================
 
-build.xml task and structure description:
-* the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
-front of the list
-* the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
-Usage is: ant echoCP > myclasspath.txt 
-This generates a file called myclasspath.txt which can be reviewed in a text editor
-* the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and 
-esb-config-gateway.xml files
-* the runtest task calls the quickstart.test.SendJMSMessage class and passes in an argument representing
-the string-based message to be pused into the queue the gateway is listening on.  Note: SendJMSMessage 
-contains a hard-coded queue name.
+	jbossesb.xml: 			
+	The JMS gateway and ESB configuration file. It is listening for JMS ObjectMessages or TextMessages 
+	at "queue/quickstart_helloworld_Request".  Messages received at "quickstart_helloworld_Request" are 
+	converted bossesb-properties.xml. Also needed by jUDDI and needs to be at the head of the classpath.  
+	Both juddi.properties and jbossesb-properties.xml are used when the service first boots up for 
+	self-registration based upon the service-category and service-name found in the esb-config.xml file.
 
+	jndi.properties:
+	Needed primarily for quickstart.test.SendJMSMessage that is fired by ant runtest.
 
+	log4j.xml:
+	Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
+
+	src\quickstart\MyJMSListenerAction.java:
+	The action class that is identified in the esb-config.xml file and is called whenever a message is received.  
+
+	src\quickstart\helloworld\test\SendJMSMessage.java:
+	Shoots in the string passed in via the command line or in this case the arg attribute in the ant runtest task.
+
+	src\quickstart\helloworld\test\SendEsbMessage.java:
+	Shoots in the string passed in via the command line or in this case the arg atribute in the ant sendesb task.
+	This demonstrates how to build an "ESB aware" client that can invoke an ESB service.
+
+	build.xml:
+	Targets and structure description:
+	*	the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
+		front of the list
+	*	the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
+		Usage is: ant echoCP > myclasspath.txt 
+		This generates a file called myclasspath.txt which can be reviewed in a text editor
+	*	the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and 
+		esb-config-gateway.xml files
+	*	the runtest task calls the quickstart.test.SendJMSMessage class and passes in an argument representing
+		the string-based message to be pused into the queue the gateway is listening on.  Note: SendJMSMessage 
+		contains a hard-coded queue name.
+
+

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/base-build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/base-build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,80 +0,0 @@
-<project name="Base" default="run" basedir=".">
-
-	<property file="../quickstarts.properties" />
-
-    <property name="additional.deploys" value="" />
-
-    <property name="classes" value="build/classes" />
-
-	<path id="compile-classpath">
-		<fileset dir="lib" includes="*.jar" /> <!-- Quickstart Specific Jars. -->
-		<fileset dir="../../../lib/ext" includes="*.jar" /> <!-- Product Dependencies. -->
-		<fileset dir="${esb.product.lib.dir}" includes="*.jar" /> <!-- Product Jars. -->
-	</path>
-	<path id="exec-classpath">
-		<pathelement location="." />
-	    <pathelement location="build/classes" />
-        <pathelement location="src" />
-		<path refid="compile-classpath" />
-		<fileset dir="${jbosshome.dir}/server/default/lib" includes="jboss-j2ee.jar" /> <!-- Required for JMS Client Code. -->
-	</path>
-
-	<target name="compile" depends="clean">
-		<mkdir dir="${classes}" />
-		<javac srcdir="src" destdir="${classes}">
-			<classpath refid="compile-classpath" />
-		</javac>
-	</target>
-
-	<target name="run" depends="compile">
-		<echo>Launching Quickstart in standalone mode...</echo>
-		<java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
-			<arg value="./jbossesb.xml" />
-			<classpath refid="exec-classpath" />
-		</java>
-	</target>
-
-    <target name="deployToSAR">
-        <echo message='******************' />
-        <echo message='DEPRECATED!!  Sorry, this target has been deprecated for Quickstart Deployment.' />
-        <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}' />
-        <echo message='******************' />
-        <fail />
-    </target>
-
-    <target name="deploy" depends="compile">
-		<echo>Deploying Quickstart to JBoss ESB Server...</echo>
-
-        <mkdir dir="build/META-INF" />
-        <copy todir="build/META-INF">
-            <fileset dir="./" includes="jboss-esb.xml,deployment.xml" />
-        </copy>
-
-        <jar destfile="build/${ant.project.name}.esb">
-           <fileset dir="build/classes" />
-           <fileset dir="src" excludes="**/*.java" />
-           <fileset dir="build" includes="META-INF/**" />
-           <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
-        </jar>
-
-        <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/" />
-
-        <echo message='${line.separator}******************' />
-        <echo>Quickstart deployed to target JBoss ESB Server at '${jbosshome.dir}'.</echo>
-        <echo>1.  Check your ESB Server console to make sure the deployment was executed without errors.</echo>
-        <echo>2.  Run 'ant runtest' to run the Quickstart.</echo>
-        <echo>3.  Check your ESB Server console again.  The Quickstart should have produced some output.</echo>
-        <echo message='******************' />
-
-    </target>
-
-	<target name="echoCP">
-		<property name="cp" refid="exec-classpath" />
-		<echo message="Classpath is ${cp}" />
-	</target>
-
-	<target name="clean">
-		<delete dir="build" />
-	</target>
-
-</project>
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,9 +1,15 @@
 <project name="Quickstart_helloworld_action" default="runtest" basedir=".">
 	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+	
 	<!-- Import the base Ant build script... -->
-	<import file="base-build.xml"/>
+	<import file="../conf/base-build.xml"/>
 	
-	<target name="runtest" depends="compile">
+	<target name="runtest" depends="compile"
+		description="sends a JMS message to the ESB">
 		<echo>Runs Test JMS Sender</echo>
 		<java fork="yes" classname="quickstart.helloworld_action.test.SendJMSMessage" failonerror="true">
 			<arg value="Hello World Action"/>
@@ -11,4 +17,4 @@
 		</java>
 	</target>
 	
-</project>
\ No newline at end of file
+</project>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,48 +1,82 @@
-The purpose of the helloworld_action quickstart sample is to show the use of 
-multiple action invocations from a single configuration.  You can use
-a single Action class and make multiple method calls or use multiple Action
-classes.
+Overview:
+=========
+	The purpose of the helloworld_action quickstart sample is to show the use of 
+	multiple action invocations from a single configuration.  You can use
+	a single Action class and make multiple method calls or use multiple Action
+	classes.
 
-In a command prmompt window
-- Start the listener run running "ant".
-- Shutdown the listener by simply using Ctrl-C in that window.
+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.
 
-In a separate command prompt window, run "ant runtest" to shoot a JMS message
-into the listener which will then invoke the MyJMSListenerAction and display
-it to the console.  You can modify the build.xml to change the phrase 
-"Hello World" to something else and re-run "ant runtest".  After you have run
-the test and seen the activity on the console also use the a queue viewer
-like the one found in the JBoss JMX Console (if you are using JBossMQ) to 
-see the modified message in the outbound queue: quickstart_helloworld_action_Response
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-dests'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to "Window1" to see the output from the ESB
+	5. 	Shutdown the listener by simply using Ctrl-C in that window.
 
+To Run '.esb' archive mode:
+===========================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
+    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
 
+To Run '.esb' archive mode:
+===========================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
+    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
+
+	'run' target description:
+	In a command prmompt window, start the listeners by simply running "ant"
+	in this directory.  You might review the build.xml file to see how it is setup.
+	More details on the build.xml can be found later in this document.  Shutdown
+	the listener by simply using Ctrl-C in that window.
+
+	'runtest' target description:
+	In a separate command prompt window, run "ant runtest" to shoot a JMS message
+	into the listener which will then invoke the MyJMSListenerAction and display
+	it to the console.  You can modify the build.xml to change the phrase
+	"Hello World" to something else and re-run "ant runtest".
+	After you have run the test and seen the activity on the console also use the a queue viewer
+	like the one found in the JBoss JMX Console (if you are using JBossMQ) to 
+	see the modified message in the outbound queue: quickstart_helloworld_action_Response
+
 Project file descriptions:
-* Review the helloworld quickstart as the majority of this is similiar to
-that example
-* MyJMSListenerAction.java has methods to display the inbound message,
-modify the message and to handle an exceptions which might be thrown in the action
-processing.
-* jbossesb.xml includes a special action (from JBoss ESB core) that is used
-to send a message out of the ESB back to the non-"ESB aware" world.  The gateway
-looks for inbound messages on "quickstart_helloworld_action_Request" which was configured
-by the "esb-quickstart-service.xml" file.  The notifier sends the modified message to
-"quickstart_helloworld_action_Response"
-               <action name="notificationAction" 
-               		class="org.jboss.soa.esb.actions.Notifier">
-               		<property name="okMethod" value="notifyOK" />
-               		<property name="notification-details">
-   	 				   <NotificationList type="OK"> 
-      				     <target class="NotifyConsole" />
-				    	 <target class="NotifyQueues">
-				   	       <queue jndiName="queue/quickstart_helloworld_action_Response">
-					         	<messageProp name="quickstart" value="hello_world_action" />
-					       </queue> 
-			 	     	 </target>
-	    		   	   </NotificationList> 
-	    		   </property>
-   	   			</action>
+==========================
+	Review the helloworld quickstart as the majority of this is similiar to
+	that example
+
+	MyJMSListenerAction.java:
+	Has methods to display the inbound message, modify the message and to handle an 
+	exceptions which might be thrown in the action processing.
+
+	jbossesb.xml:
+	Includes a special action (from JBoss ESB core) that is used
+	to send a message out of the ESB back to the non-"ESB aware" world. The gateway
+	looks for inbound messages on "quickstart_helloworld_action_Request" which was configured
+	by the "esb-quickstart-service.xml" file.  
+	The notifier sends the modified message to "quickstart_helloworld_action_Response":
+	<action name="notificationAction" class="org.jboss.soa.esb.actions.Notifier">
+		<property name="okMethod" value="notifyOK" />
+		<property name="notification-details">
+			<NotificationList type="OK"> 
+				<target class="NotifyConsole" />
+				<target class="NotifyQueues">
+					<queue jndiName="queue/quickstart_helloworld_action_Response">
+						<messageProp name="quickstart" value="hello_world_action" />
+				   </queue> 
+				 </target>
+		   </NotificationList> 
+	   </property>
+	</action>
   
-An ESB action class must have a constructor that accepts a ConfigTree argument like the following:
- public MyJMSListenerAction(ConfigTree config) { _config = config; } 
+	An ESB action class must have a constructor that accepts a ConfigTree argument like the following:
+	 public MyJMSListenerAction(ConfigTree config) { _config = config; } 
  
-A ConfigTree is an object holding any attributes associated with the action declaration in the jbossesb.xml
+	A ConfigTree is an object holding any attributes associated with the action declaration in the jbossesb.xml

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/src/quickstart/helloworld_action/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/src/quickstart/helloworld_action/test/SendJMSMessage.java	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/src/quickstart/helloworld_action/test/SendJMSMessage.java	2007-04-23 15:13:04 UTC (rev 11233)
@@ -39,10 +39,10 @@
     public void setupConnection() throws JMSException, NamingException
     {
     	InitialContext iniCtx = new InitialContext();
-    	Object tmp = iniCtx.lookup("QueueConnectionFactory");
+    	Object tmp = iniCtx.lookup("ConnectionFactory");
     	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
     	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("ACTION_REQUEST");
+    	que = (Queue) iniCtx.lookup("queue/quickstart_helloworld_action_Request");
     	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
     	conn.start();
     	System.out.println("Connection Started");

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,73 +1,19 @@
 <project name="Quickstart_db_registration" default="run" basedir=".">
-  
-  <property file="../quickstarts.properties" />
-  
-  <property name="build.dir" value="${basedir}/build"/>
-  <property name="src.dir" value="${basedir}/src"/>
-		
-  <property name="jbossesb-config" value="${basedir}/jbossesb.xml"/>
 
-	<path id="classpath">
-  <!-- fileset dir="${basedir}" includes="jbossesb-properties.xml" -->
-  <!-- fileset dir="${basedir}" includes="juddi.properties" -->
-	<fileset dir="${esb.product.lib.dir}/ext" includes="jboss-messaging-client.jar"/>
-    <fileset dir="${basedir}/lib" includes="*jar"/>    
-	<fileset dir="${esb.product.lib.dir}" includes="*jar"/>
-	<fileset dir="${esb.product.lib.dir}" includes="*xml"/>
-	  
-	<fileset dir="${esb.product.lib.dir}/ext" includes="*jar"/>
-	<fileset dir="${jbosshome.dir}/client" includes="*jar"/>
-	<fileset dir="${jbosshome.dir}/server/default/lib">
-	   <include name="jboss-j2ee.jar"/> <!-- added this for the JMS client -->
-	</fileset>		
-  	
-  <fileset dir="${basedir}" includes="build/**/*.jar"/>
-  <fileset dir="${basedir}" includes="build/**/*.xml"/>
-  <pathelement location="." />
-  
-  </path>
- 
-  <property name="cp" refid="classpath"/>
-  
-  <target name="echoCP">    
-  	<echo message="Classpath is ${cp}"/>
-  </target>
-  
-  <target name="prepare">
-	<mkdir dir="${build.dir}" />
-  </target>
-
-  <target name="clean">
-	<delete dir="${build.dir}" />
-  </target>
-
-  <target name="compile" depends="prepare">
-	<javac srcdir="${src.dir}"
-	   destdir="${build.dir}">
-	  <classpath refid="classpath"/>
- 	</javac>
-  </target>
-
-  <target name="jars" depends="compile">
-	<delete file="${build.dir}/${ant.project.name}.jar"/>
-        <jar destfile="${build.dir}/${ant.project.name}.jar"
-		basedir="${build.dir}"
-		includes="**/*.class"/>
-  </target>
-
-  <target name="run" depends="jars">
-     <echo>Basic JMS Gateway and Listener</echo>
-    <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
-    	<arg value="${jbossesb-config}"/>
-		<classpath refid="classpath"/>
-     </java>     
-  </target>	
-
-  <target name="runtest">
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+	
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
+	
+  <target name="runtest" 
+	  description="will send a JMS message to the ESB">
      <echo>Runs Test JMS Sender</echo>
      <java fork="yes" classname="quickstart.test.SendJMSMessage" failonerror="true">
-     	<arg value="Hello World"/>
-		<classpath refid="classpath"/>
+     	<arg value="Hello World db registration"/>
+		<classpath refid="exec-classpath"/>
      </java>
   </target>  
 </project>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/jbm-queue-service.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/jbm-queue-service.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -2,9 +2,9 @@
 <server>
   
   <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request"
+    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_db_registration"
     xmbean-dd="xmdesc/Queue-xmbean.xml">
     <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
   </mbean>
   
-</server>
\ No newline at end of file
+</server>

Added: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/jboss-esb.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/jboss-esb.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,32 @@
+<?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" >
+    <providers>
+        <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
+            jndi-URL="localhost" jndi-context-factory="org.jnp.interfaces.NamingContextFactory">
+            <jms-bus busid="helloworldDBGatewayChannel">
+                <jms-message-filter dest-name="queue/quickstart_helloworld_db_registration"
+                    dest-type="QUEUE"/>
+            </jms-bus>
+            <jms-bus busid="helloworldDBServiceChannel">
+                <jms-message-filter dest-name="queue/B"
+                    dest-type="QUEUE"/>
+            </jms-bus>
+        </jms-provider>
+    </providers>
+    
+    <services>
+        <service category="UsingDBRegServices" name="UsingDBRegJMSService"
+        	description="Hello World DB JMS Service">
+            <listeners>
+                <jms-listener name="helloworldDBGatewayListener"
+                    busidref="helloworldDBGatewayChannel" maxThreads="1" is-gateway="true"/>
+                <jms-listener name="helloworldDBServiceListener"
+                    busidref="helloworldDBServiceChannel" maxThreads="1"/>
+            </listeners>
+            <actions>
+                <action name="helloworldDBAction" class="quickstart.MyJMSListenerAction" 
+                   	process="displayMessage"/>
+            </actions>
+        </service>
+    </services>
+</jbossesb>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,71 +1,110 @@
-This example assumes your jUDDI registry is running in Mysql and it connects 
-directly to the database to register the component.
+Overview:
+=========
+	This example assumes your jUDDI registry is running in Mysql and it connects 
+	directly to the database to register the component.
 
-The magic of DB registration (as opposed to RMI or SOAP) is in the jbossesb-properties.xml and the 
-significant lines are marked with a **
- <properties name="registry">
-    	<property name="org.jboss.soa.esb.registry.queryManagerURI" 
-    	**	value="org.apache.juddi.registry.local.InquiryService#inquire"/>
-    	<property name="org.jboss.soa.esb.registry.lifeCycleManagerURI" 
-    	**	value="org.apache.juddi.registry.local.PublishService#publish"/>
-    	<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="jbossesb"/>
-    	<property name="org.jboss.soa.esb.registry.password" value="password"/>
-    	<!-- 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"/>
-    </properties>
+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.
 
-In a command prmompt window, start the listeners by simply running "ant" 
-in this directory.  You might review the build.xml file to see how it is setup. 
-More details on the build.xml can be found later in this document.  Shutdown
-the listener by simply using Cntrl-C in that window.
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-queues'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to "Window1" to see the output from the ESB
+    5.  Shutdown the listener by simply using Ctrl-C in that window.
 
-In a separate command prompt window, run "ant runtest" to shoot a JMS message
-into the listener which will then invoke the MyJMSListenerAction and display
-it to the console.  You can modify the build.xml to change the phrase 
-"Hello World" to something else and re-run "ant runtest".
+To Run '.esb' archive mode:
+===========================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to Application Server console to see the output from the ESB
 
+	'run' target description:
+	In a command prompt window, start the listeners by simply running "ant"
+	in this directory.  You might review the build.xml file to see how it is setup.
+	More details on the build.xml can be found later in this document.  Shutdown
+	the listener by simply using Ctrl-C in that window.
+
+	'runtest' target description:
+	In a separate command prompt window, run "ant runtest" to shoot a JMS message
+	into the listener which will then invoke the MyJMSListenerAction and display
+	it to the console.  You can modify the build.xml to change the phrase 
+	"Hello World" to something else and re-run "ant runtest".
+
+What to look for in this Quickstart:
+====================================
+	The magic of DB registration (as opposed to RMI or SOAP) is in the jbossesb-properties.xml and the
+	significant lines are marked with a **
+    <properties name="registry">
+        <property name="org.jboss.soa.esb.registry.queryManagerURI"
+        **  value="org.apache.juddi.registry.local.InquiryService#inquire"/>
+        <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI"
+        **  value="org.apache.juddi.registry.local.PublishService#publish"/>
+        <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="jbossesb"/>
+        <property name="org.jboss.soa.esb.registry.password" value="password"/>
+        <!-- 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"/>
+    </properties>
+
 Project file descriptions:
-* build.xml - the ant build script. 
-* esb-config.xml - the ESB listener configuration file
-* esb-config-gateway.xml - the JMS gateway configuration file. It is listening
-for JMS ObjectMessages or TextMessages at "queue/quickstart_helloworld_Request"
-* juddi.properties - configures jUDDI, needs to be at the head of the classpath
-* jbossesb-properties.xml - also needed by jUDDI and needs to be at the 
-head of the classpath.  Both juddi.properties and jbossesb-properties.xml are
-used when the service first boots up for self-registration based upon the 
-service-category and service-name found in the esb-config.xml file.
-* jndi.properties - needed primarily for quickstart.test.SendJMSMessage that
-is fired by ant runtest.
-* log4j.xml - needed to configure log4J used by both the quickstart and the ESB
-itself.  A listener needs a place to log.
-* src\quickstart\Launcher.java - called by ant "run" target with 3 arguments.
-The most important arguments being the locations of the esb-config.xml and
-esb-config-gateway.xml files.  The Launcher starts the gateway and esb listener
-threads and then waits indefinitely.  
-* src\quickstart\MyJMSListenerAction.java - the action class that is identified
-in the esb-config.xml file and is called whenever a message is received.  
-* src\quickstart\test\SendJMSMessage.java - shoots in the string passed in via
-the command line or in this case the arg attribute in the ant runtest task.
-* lib\mysql-connector-java-3.1.12-bin.jar - the listener must register itself
-when it boots up therefore it needs access to the MySQL environment where 
-jUDDI is living.  This works in conjunction with juddi.properties.
+==========================
 
-build.xml task and structure description:
-* the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
-front of the list
-* the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
-Usage is: ant echoCP > myclasspath.txt 
-This generates a file called myclasspath.txt which can be reviewed in a text editor
-* the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and 
-esb-config-gateway.xml files
-* the runtest task calls the quickstart.test.SendJMSMessage class and passes in an argument representing
-the string-based message to be pused into the queue the gateway is listening on.  Note: SendJMSMessage 
-contains a hard-coded queue name.
+	esb-config.xml:
+	The ESB listener configuration file
 
+	esb-config-gateway.xml:
+	The JMS gateway configuration file. It is listening for JMS ObjectMessages or TextMessages 
+	at "queue/quickstart_helloworld_Request"
 
+	juddi.properties:
+	Configures jUDDI, needs to be at the head of the classpath
+
+	jbossesb-properties.xml:
+	Also needed by jUDDI and needs to be at the head of the classpath. Both juddi.properties and 
+	jbossesb-properties.xml are used when the service first boots up for self-registration based upon the 
+	service-category and service-name found in the esb-config.xml file.
+
+	jndi.properties:
+	Needed primarily for quickstart.test.SendJMSMessage that is fired by ant runtest.
+
+	log4j.xml:
+	Needed to configure log4J used by both the quickstart and the ESB itself. A listener needs a place to log.
+
+	src\quickstart\Launcher.java:
+	Called by ant "run" target with 3 arguments. The most important arguments being the locations of 
+	the esb-config.xml and esb-config-gateway.xml files. The Launcher starts the gateway and esb listener
+	threads and then waits indefinitely.  
+
+	src\quickstart\MyJMSListenerAction.java:
+	The action class that is identified in the esb-config.xml file and is called whenever a message is received.  
+
+	src\quickstart\test\SendJMSMessage.java:
+	Shoots in the string passed in via the command line or in this case the arg attribute in the ant runtest task.
+
+	lib\mysql-connector-java-3.1.12-bin.jar:
+	The listener must register itself when it boots up therefore it needs access to the MySQL environment where 
+	jUDDI is living.  This works in conjunction with juddi.properties.
+
+	build.xml:
+	*	the classpath property pulls the jbossesb-properties.xml file and the juddi.properties file to the
+		front of the list
+	*	the echoCP task is useful for making sure what you think is in your classpath is actually in your classpath
+		Usage is: ant echoCP > myclasspath.txt 
+		This generates a file called myclasspath.txt which can be reviewed in a text editor
+	*	the run task calls the Launcher passing in 3 arguments the most important are the esb-config.xml and 
+		esb-config-gateway.xml files
+	*	the runtest task calls the quickstart.test.SendJMSMessage class and passes in an argument representing
+		the string-based message to be pused into the queue the gateway is listening on.  Note: SendJMSMessage 
+		contains a hard-coded queue name.
+
+

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/src/quickstart/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/src/quickstart/test/SendJMSMessage.java	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/src/quickstart/test/SendJMSMessage.java	2007-04-23 15:13:04 UTC (rev 11233)
@@ -46,7 +46,7 @@
     	Object tmp = iniCtx.lookup("ConnectionFactory");
     	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
     	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_helloworld_Request");
+    	que = (Queue) iniCtx.lookup("queue/quickstart_helloworld_db_registration");
     	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
     	conn.start();
     	System.out.println("Connection Started");

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,110 +1,48 @@
 <project name="Quickstart_helloworld_file_action" default="run" basedir=".">
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+	
+	<import file="../conf/base-build.xml"/>
   
-  <property file="../quickstarts.properties" />
-  
-  <property name="build.dir" value="${basedir}/build"/>
-  <property name="src.dir" value="${basedir}/src"/>
-
-  <property name="jbossesb.name" value="jboss-esb.xml"/>
-  <property name="jbossesb.origconfig" location="${basedir}/${jbossesb.name}"/>
-  <property name="jbossesb.config" location="${build.dir}/${jbossesb.name}"/>
-
-  <property name="jbossesb.rootdir" location="${build.dir}/dirs"/>
-  <property name="jbossesb.inputdir" location="${jbossesb.rootdir}/input"/>
-  <property name="jbossesb.outputdir" location="${jbossesb.rootdir}/output"/>
-  <property name="jbossesb.errordir" location="${jbossesb.rootdir}/error"/>
-
-  <property name="jboss.server.dir" location="${jbosshome.dir}/server/default"/>
-  <property name="jboss.deploy.dir" location="${jboss.server.dir}/deploy"/>
-  <property name="jboss.conf.dir" location="${jboss.server.dir}/conf"/>
-
-  <path id="classpath">
-    <!-- fileset dir="${basedir}" includes="jbossesb-properties.xml" -->
-    <!-- fileset dir="${basedir}" includes="juddi.properties" -->
- 
-  <fileset dir="${esb.product.lib.dir}" includes="*jar"/>
-  <fileset dir="${esb.product.lib.dir}" includes="*xml"/>
-  <fileset dir="${esb.product.lib.dir}/ext" includes="*jar"/>
-  <fileset dir="${jbosshome.dir}/client" includes="*jar"/>
-  <fileset dir="${jbosshome.dir}/server/default/lib">
-    <include name="jboss-j2ee.jar"/> <!-- added this for the JMS client -->
-  </fileset>
-  
-  <fileset dir="${basedir}" includes="build/**/*.jar"/>
-  <fileset dir="${basedir}" includes="build/**/*.xml"/>
-  <pathelement location="." />
-  
-  </path>
- 
-  <property name="cp" refid="classpath"/>
-  
-  <target name="echoCP">    
-    <echo message="Classpath is ${cp}"/>
-  </target>
-  
-  <target name="prepare">
-    <mkdir dir="${build.dir}" />
-  </target>
-
-  <target name="clean">
-    <delete dir="${build.dir}" />
-  </target>
-
-  <target name="compile" depends="prepare">
-    <javac srcdir="${src.dir}"
-        destdir="${build.dir}">
-      <classpath refid="classpath"/>
-    </javac>
-  </target>
-
-  <target name="jars" depends="compile">
-    <delete file="${build.dir}/${ant.project.name}.jar"/>
-    <jar destfile="${build.dir}/${ant.project.name}.jar"
-      basedir="${build.dir}" includes="**/*.class"/>
-    <jar destfile="${build.dir}/${ant.project.name}.esb"
-        basedir="${build.dir}" includes="**/*.class,META-INF/jboss-esb.xml"/>
-  </target>
-
-  <target name="config">
-    <delete dir="${jbossesb.rootdir}" quiet="true"/>
-    <mkdir dir="${jbossesb.rootdir}"/>
-    <mkdir dir="${jbossesb.inputdir}"/>
-    <mkdir dir="${jbossesb.outputdir}"/>
-    <mkdir dir="${jbossesb.errordir}"/>
-
-    <copy file="${jbossesb.origconfig}" tofile="${jbossesb.config}"
-        overwrite="true" filtering="true">
-      <filterset>
-        <filter token="INPUTDIR" value="${jbossesb.inputdir}"/>
-        <filter token="OUTPUTDIR" value="${jbossesb.outputdir}"/>
-        <filter token="ERRORDIR" value="${jbossesb.errordir}"/>
-      </filterset>
-    </copy>
-    <copy file="log4j.xml" tofile="build/log4j.xml"/>
-  </target>
-  
-  <target name="run" depends="jars, config">
-  	<copy file="${build.dir}/jboss-esb.xml" tofile="${build.dir}/jbossesb.xml"/>
-    <echo>Basic File Gateway and Listener</echo>
-    <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
-      <arg value="${jbossesb.config}"/>
-      <classpath refid="classpath"/>
-    </java>
-  </target>
-
-  <target name="deploy" depends="jars, config">
-    <echo message="Deploying to ${jboss.deploy.dir}"/>
-    <copy file="${build.dir}/${ant.project.name}.esb"
-          todir="${jboss.deploy.dir}" overwrite="true"/>
-  </target>
-
-  <target name="runtest">
-    <echo>Runs Test File Creator</echo>
-    <java fork="yes" classname="quickstart.hw_file_action.test.CreateTestFile" failonerror="true">
-      <arg value="${jbossesb.inputdir}"/>
-      <arg value="MyInput.dat"/> <!-- the directory the file should be created in -->
-      <arg value="Hello World In A File"/> <!-- the file contents -->
-      <classpath refid="classpath"/>
-    </java>
-  </target>  
+	<property name="jbossesb.name" value="jboss-esb.xml"/>
+	<property name="jbossesb.rootdir" location="${build.dir}/dirs"/>
+	<property name="jbossesb.inputdir" location="${jbossesb.rootdir}/input"/>
+	<property name="jbossesb.outputdir" location="${jbossesb.rootdir}/output"/>
+	<property name="jbossesb.errordir" location="${jbossesb.rootdir}/error"/>
+	
+	<target name="runtest" depends="compile"
+		description="will create a testfile which in turn will trigger the ESB">
+		<echo>Runs Test File Creator</echo>
+		<java fork="yes" classname="quickstart.hw_file_action.test.CreateTestFile" failonerror="true">
+			<arg value="${jbossesb.inputdir}"/>
+			<arg value="MyInput.dat"/> <!-- the directory the file should be created in -->
+			<arg value="Hello World In A File"/> <!-- the file contents -->
+			<classpath refid="exec-classpath"/>
+		</java>
+	</target>  
+	
+	<target name="config">
+			<delete dir="${jbossesb.rootdir}" quiet="true"/>
+			<mkdir dir="${jbossesb.rootdir}"/>
+			<mkdir dir="${jbossesb.inputdir}"/>
+			<mkdir dir="${jbossesb.outputdir}"/>
+			<mkdir dir="${jbossesb.errordir}"/>
+		
+			<antcall target="filter_jboss-esb.xml"/>
+			<copy file="log4j.xml" tofile="build/log4j.xml"/>
+		</target>
+	
+	<target name="filter_jboss-esb.xml">
+		<copy file="jboss-esb-unfiltered.xml" tofile="${basedir}/${jbossesb.name}" overwrite="true" filtering="true">
+				<filterset>
+					<filter token="INPUTDIR" value="${jbossesb.inputdir}"/>
+					<filter token="OUTPUTDIR" value="${jbossesb.outputdir}"/>
+					<filter token="ERRORDIR" value="${jbossesb.errordir}"/>
+			</filterset>
+		</copy>
+	</target>
+	
 </project>

Added: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/jbm-queue-service.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/jbm-queue-service.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_file_esb"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+</server>

Added: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/jboss-esb-unfiltered.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/jboss-esb-unfiltered.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,64 @@
+<?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" parameterReloadSecs="5" >
+
+    <providers>
+          <fs-provider name="FSprovider1">
+          	<fs-bus busid="helloFileChannel" >
+          		<fs-message-filter
+          			directory="@INPUTDIR@"
+          			input-suffix=".dat"
+          			work-suffix=".esbWorking"
+          			post-delete="false"
+          			post-directory="@OUTPUTDIR@"
+          			post-suffix=".sentToEsb"
+          			error-delete="false"
+          			error-directory="@ERRORDIR@"
+          			error-suffix=".IN_ERROR"
+          		/>
+          	</fs-bus>
+          </fs-provider>
+          
+          <jms-provider name="JBossMessaging" 
+          		connection-factory="ConnectionFactory"
+            	 >
+            
+			    <jms-bus busid="quickstartEsbChannel">
+			        <jms-message-filter
+			            dest-type="QUEUE"
+			            dest-name="queue/quickstart_helloworld_file_esb"
+			            selector="type='fromHelloworldFileAction'"
+			        />
+			    </jms-bus>
+			
+		   </jms-provider>
+
+      </providers>
+      
+      <services>
+          
+        <service 
+			category="myCategory"
+			name="myFileListener"
+        	description="Hello World File Action (esb listener)" >
+            <listeners>
+            	<fs-listener name="FileGateway"
+            		busidref="helloFileChannel"
+            		maxThreads="1"
+            		is-gateway="true"
+            		poll-frequency-seconds="10"
+            	/>
+                <jms-listener name="helloWorldFileAction"
+                              busidref="quickstartEsbChannel"
+                              maxThreads="1"
+                />
+            </listeners>
+            <actions>
+                   <action name="action1" 
+                   	class="quickstart.hw_file_action.MyAction" 
+                   	process="displayMessage,playWithMessage" 
+                   	/>      
+            </actions>
+        </service>
+      </services>
+     
+</jbossesb>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/jboss-esb.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/jboss-esb.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -5,14 +5,14 @@
           <fs-provider name="FSprovider1">
           	<fs-bus busid="helloFileChannel" >
           		<fs-message-filter
-          			directory="@INPUTDIR@"
+          			directory="/opt/jboss/esb/source/livetrunk/product/samples/quickstarts/helloworld_file_action/build/dirs/input"
           			input-suffix=".dat"
           			work-suffix=".esbWorking"
           			post-delete="false"
-          			post-directory="@OUTPUTDIR@"
+          			post-directory="/opt/jboss/esb/source/livetrunk/product/samples/quickstarts/helloworld_file_action/build/dirs/output"
           			post-suffix=".sentToEsb"
           			error-delete="false"
-          			error-directory="@ERRORDIR@"
+          			error-directory="/opt/jboss/esb/source/livetrunk/product/samples/quickstarts/helloworld_file_action/build/dirs/error"
           			error-suffix=".IN_ERROR"
           		/>
           	</fs-bus>
@@ -25,7 +25,7 @@
 			    <jms-bus busid="quickstartEsbChannel">
 			        <jms-message-filter
 			            dest-type="QUEUE"
-			            dest-name="queue/A"
+			            dest-name="queue/quickstart_helloworld_file_esb"
 			            selector="type='fromHelloworldFileAction'"
 			        />
 			    </jms-bus>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_action/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -3,44 +3,57 @@
     This is a basic example of using the File gateway feature of the JBoss ESB
     Files that are found in a particular directory with a particular 
     extension are sent to a JMS queue with actions for processing.
+
+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.
     
-Before Running:
-===============
-    1.	Update the "jbosshome.dir" property in the quickstarts.properties file in "../".
-	  2.	Make sure the jbossesb.sar is deployed on your JBoss Application Server.
-	  3.	Make sure the JBoss Application server is running since it uses JBossMQ
-    
-To Run:
-=======
-		1.  In a command window type "ant run". You will see the service get registered in the 
-		JBoss AS server console as well as by the activity in the command window where the service
-		runs.
-		2. Open another command window and type "ant runtest".  This will create a new file called
-		"MyInput.dat" in the directory "build/dirs/input" with the contents "Hello World In A File"
-		3. You should see the output on the first command window running the service.
-		4. Change the file name and contents and re-test.
-		
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-queues'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to "Window1" to see the output from the ESB
+
+To Run '.esb' archive mode:
+===========================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-queues'.
+    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
+
+	'run' target description:
+	Start the listeners. You might review the build.xml file to see how it is setup.
+    Shutdown the listener by simply using Ctrl-C in that window.
+
+	'runtest' target description:
+	This will create a new file called "MyInput.dat" in the directory "build/dirs/input" 
+	with the contents "Hello World In A File"
+    You can modify the build.xml to change the phrase "Hello World" to something else 
+	and re-run "ant runtest".
+
 What to look at in this Quickstart:
 ===================================
-		This example demonstrates the use of a file gateway that by default loads the file 
-		and pushes into a JMS message queue. What follows is a more detailed discussion on the 
-		file gateway:
+	This example demonstrates the use of a file gateway that by default loads the file 
+	and pushes into a JMS message queue. What follows is a more detailed discussion on the 
+	file gateway:
 		
-        * directory - the directory to be monitored for input file messages
-        * input-suffix - the file extension to be monitored, other files will be ignored
-        * work-suffix - the file extension that is used while the file is "in process" by the
-        ESB.  The file is considered to be "in process" while the gateway is passing it into
-        the ESB listener/service (in this case JMS queue).
-        * post-delete - "true" or "false". The file can be removed once has been successfully 
-        processed.
-        * post-directory - The place where the "processed" file ends up assuming no errors
-        and assuming post-delete="false"
-        * post-suffix - The file extension that is used to mark the file as "completed" 
-        * error-delete - "true" or "false". If there is an internal error and the file fails to
-        be loaded by the ESB, delete it. 
-        * error-directory - The place to drop any file that fails to be uploaded/processed
-        * error-suffix - The file extension that is used to mark a file has had an internal error.
-        Note: Error processing in this case means the file failed to pass through the gateway
-        and into the waiting queue.  
+	* directory - the directory to be monitored for input file messages
+	* input-suffix - the file extension to be monitored, other files will be ignored
+	* work-suffix - the file extension that is used while the file is "in process" by the
+	ESB.  The file is considered to be "in process" while the gateway is passing it into
+	the ESB listener/service (in this case JMS queue).
+	* post-delete - "true" or "false". The file can be removed once has been successfully 
+	processed.
+	* post-directory - The place where the "processed" file ends up assuming no errors
+	and assuming post-delete="false"
+	* post-suffix - The file extension that is used to mark the file as "completed" 
+	* error-delete - "true" or "false". If there is an internal error and the file fails to
+	be loaded by the ESB, delete it. 
+	* error-directory - The place to drop any file that fails to be uploaded/processed
+	* error-suffix - The file extension that is used to mark a file has had an internal error.
+	Note: Error processing in this case means the file failed to pass through the gateway
+	and into the waiting queue.  
         
     

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,102 +1,42 @@
 <project name="Quickstart_helloworld_FTP_action" default="run" basedir=".">
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+	
+	<import file="../conf/base-build.xml"/>
   
-  <property file="../quickstarts.properties" />
-  
-  <property name="build.dir" value="${basedir}/build"/>
-  <property name="src.dir" value="${basedir}/src"/>
-		
-  <property name="jbossesb.name" value="jboss-esb.xml"/>
-  <property name="jbossesb.origconfig" location="${jbossesb.name}"/>
-
-  <property name="jbossesb.config" location="${build.dir}/META-INF/${jbossesb.name}"/>
-
-	<path id="classpath">
-    <!-- fileset dir="${basedir}" includes="jbossesb-properties.xml" -->
-    <!-- fileset dir="${basedir}" includes="juddi.properties" -->  
-	<fileset dir="${esb.product.lib.dir}" includes="*jar"/>
-	<fileset dir="${esb.product.lib.dir}" includes="*xml"/>
-	<fileset dir="${esb.product.lib.dir}/ext" includes="*jar"/>
-	<fileset dir="${jbosshome.dir}/client" includes="*jar"/>
-		  	
-  <fileset dir="${basedir}" includes="build/**/*.jar"/>
-  <fileset dir="${basedir}" includes="build/**/*.xml"/>
-  <pathelement location="." />
-  
-  </path>
- 
-  <property name="cp" refid="classpath"/>
-  
-  <target name="echoCP">    
-  	<echo message="Classpath is ${cp}"/>
-  </target>
-  
-  <target name="prepare">
-	<mkdir dir="${build.dir}" />
-  </target>
-
-  <target name="clean">
-	<delete dir="${build.dir}" />
-  </target>
-
-  <target name="compile" depends="prepare">
-	<javac srcdir="${src.dir}"
-	   destdir="${build.dir}">
-	  <classpath refid="classpath"/>
- 	</javac>
-  </target>
-
-  <target name="config">
-    <copy file="${jbossesb.origconfig}" tofile="${jbossesb.config}"
-        overwrite="true" filtering="true">
-      <filterset>
-        <filter token="FTP_HOSTNAME" value="${jbossesb.ftp.hostname}"/>
-        <filter token="FTP_USERNAME" value="${jbossesb.ftp.username}"/>
-        <filter token="FTP_PASSWORD" value="${jbossesb.ftp.password}"/>
-        <filter token="FTP_DIRECTORY" value="${jbossesb.ftp.directory}"/>
-      </filterset>
-    </copy>
-    <copy file="log4j.xml" tofile="build/log4j.xml"/>
-  </target>
-
-  <target name="jars" depends="compile">
-	<delete file="${build.dir}/${ant.project.name}.jar"/>
-        <jar destfile="${build.dir}/${ant.project.name}.jar"
-		basedir="${build.dir}"
-		includes="**/*.class"/>
-    <jar destfile="${build.dir}/${ant.project.name}.esb"
-      basedir="${build.dir}" includes="**/*.class,META-INF/jboss-esb.xml"/>
-  </target>
-
-  <target name="run" depends="jars, config">
-    <copy file="${build.dir}/META-INF/jboss-esb.xml" tofile="${build.dir}/jbossesb.xml"/>
-	     <echo>Basic FTP Gateway and JMS Listener with Actions</echo>
-	     <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">  
-	     	<arg value="${build.dir}/jbossesb.xml"/>
-			<classpath refid="classpath"/>
-	     </java>     
-  </target>	
-
-  <target name="deploy" depends="jars, config">
-	    <echo>Deploys the project to the JBoss Application Server ESB SAR</echo>
-	  	<copy file="${build.dir}/${ant.project.name}.esb" overwrite="true"
-	  		todir="${jbosshome.dir}/server/default/deploy"	
-	  	/>
-  </target>
+	<target name="config">
+		<antcall target="filter_jboss-esb.xml"/>
+		<copy file="log4j.xml" tofile="build/log4j.xml"/>
+	</target>
 	
-  <target name="runtest">
-  	<tstamp>
-  	   <format property="timestamp" pattern="dd-MMM-yy-HH-mm-ss" />
-  	</tstamp>
-     <echo>Runs Test FTP File creator</echo>
-     <java fork="yes" classname="quickstart.hw_ftp_action.test.CreateTestFile" failonerror="true">
-        <arg value="${jbossesb.ftp.hostname}"/>
-        <arg value="${jbossesb.ftp.username}"/>
-        <arg value="${jbossesb.ftp.password}"/>
-        <arg value="${jbossesb.ftp.directory}/HWFtp-${timestamp}.dat"/>
-        <arg value="Hello World In A File (for Hello World FTP Action test)"/> <!--  File Contents -->
-                <classpath refid="classpath"/>
-     </java>
-  </target>
-
-
+	<target name="runtest" depends="compile"
+		description="will create a test file that will trigger the FTP action">
+		<tstamp>
+			<format property="timestamp" pattern="dd-MMM-yy-HH-mm-ss" />
+		</tstamp>
+		<echo>Runs Test FTP File creator</echo>
+		<java fork="yes" classname="quickstart.hw_ftp_action.test.CreateTestFile" failonerror="true">
+			<arg value="${quickstart.jbossesb.ftp.hostname}"/>
+			<arg value="${quickstart.jbossesb.ftp.username}"/>
+			<arg value="${quickstart.jbossesb.ftp.password}"/>
+			<arg value="${quickstart.jbossesb.ftp.directory}/HWFtp-${timestamp}.dat"/>
+	        <arg value="Hello World In A File (for Hello World FTP Action test)"/> <!--  File Contents -->
+            <classpath refid="exec-classpath"/>
+	     </java>
+	</target>
+	
+	<target name="filter_jboss-esb.xml">
+		<copy file="${basedir}/jboss-esb-unfiltered.xml" tofile="${basedir}/jboss-esb.xml" overwrite="true" filtering="true">
+				<filterset>
+					<filter token="FTP_HOSTNAME" value="${quickstart.jbossesb.ftp.hostname}"/>
+					<filter token="FTP_USERNAME" value="${quickstart.jbossesb.ftp.username}"/>
+					<filter token="FTP_PASSWORD" value="${quickstart.jbossesb.ftp.password}"/>
+					<filter token="FTP_DIRECTORY" value="${quickstart.jbossesb.ftp.directory}"/>
+			</filterset>
+		</copy>
+	</target>
+	
 </project>

Added: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jbm-queue-service.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jbm-queue-service.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_ftp_esb"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+</server>

Added: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jboss-esb-unfiltered.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jboss-esb-unfiltered.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,66 @@
+<?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" parameterReloadSecs="5">
+
+    <providers>
+          <ftp-provider name="FTPprovider" hostname="@FTP_HOSTNAME@" >
+          	<ftp-bus busid="helloFTPChannel" >
+          		<ftp-message-filter
+          			username="@FTP_USERNAME@"
+          			password="@FTP_PASSWORD@"
+          			passive="false"
+          			directory="@FTP_DIRECTORY@"
+          			input-suffix=".dat"
+          			work-suffix=".esbWorking"
+          			post-delete="false"
+          			post-suffix=".COMPLETE"
+          			error-delete="false"
+          			error-suffix=".HAS_ERROR"
+          		/>
+          	</ftp-bus>
+          </ftp-provider>
+          
+          <jms-provider name="JBossMQ" 
+          		connection-factory="ConnectionFactory"
+            	jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
+            	jndi-URL="localhost" >
+            
+			    <jms-bus busid="quickstartEsbChannel">
+			        <jms-message-filter
+			            dest-type="QUEUE"
+			            dest-name="queue/quickstart_helloworld_ftp_esb"
+			            selector="source='fromHelloworldFTPAction'"
+			        />
+			    </jms-bus>
+			
+		   </jms-provider>
+
+      </providers>
+      
+      <services>  
+        <service 
+			category="myCategory"
+			name="myFileListener"
+        	description="Hello World File Action (esb listener)" >
+            <listeners>
+            	<ftp-listener name="FtpGateway"
+            		busidref="helloFTPChannel"
+            		maxThreads="1"
+            		is-gateway="true"
+            		>
+            		<property name="pollLatencySeconds" value="5"/> 
+            	</ftp-listener>
+                <jms-listener name="helloWorldFileAction"
+                              busidref="quickstartEsbChannel"
+                              maxThreads="1"
+                />
+            </listeners>
+            <actions>
+                   <action name="action1" 
+                   	class="quickstart.hw_ftp_action.MyAction" 
+                   	process="displayMessage,playWithMessage" 
+                   	/>      
+            </actions>
+        </service>
+      </services>
+     
+</jbossesb>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jboss-esb.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/jboss-esb.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -2,13 +2,13 @@
 <jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
 
     <providers>
-          <ftp-provider name="FTPprovider" hostname="@FTP_HOSTNAME@" >
+          <ftp-provider name="FTPprovider" hostname="localhost" >
           	<ftp-bus busid="helloFTPChannel" >
           		<ftp-message-filter
-          			username="@FTP_USERNAME@"
-          			password="@FTP_PASSWORD@"
+          			username="sifo"
+          			password="sifo"
           			passive="false"
-          			directory="@FTP_DIRECTORY@"
+          			directory="/home/sifo/input"
           			input-suffix=".dat"
           			work-suffix=".esbWorking"
           			post-delete="false"
@@ -27,7 +27,7 @@
 			    <jms-bus busid="quickstartEsbChannel">
 			        <jms-message-filter
 			            dest-type="QUEUE"
-			            dest-name="queue/A"
+			            dest-name="queue/quickstart_helloworld_ftp_esb"
 			            selector="source='fromHelloworldFTPAction'"
 			        />
 			    </jms-bus>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_ftp_action/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -3,23 +3,28 @@
   	This is a very basic example that demonstrates how to configure the FTP gateway
  	so that it picks up messages from an ftp server, routes them through a JMS queue
  	and finally to your action class for processing.
-  
+
+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.
+
 Before Running:
 ===============
-	1.	Update the "jbosshome.dir" and all the jbossesb.ftp properties
-		in the quickstarts.properties file in "../".
-	2.	Make sure the jbossesb.sar is deployed on your JBoss Application Server.
-	3.	Make sure the JBoss Application server is running
-	4.  Make sure you have read/write access to an FTP server.  Write access is required
-	so that a file can be marked as "completed" (or just deleted) and not reprocessed 
-	again and again.
+    1.  Make sure the you have set the jboss.ftp properties in either install/deployment.properties
+		or in sample/quickstarts/conf/quickstarts.properties.
+	2.  Make sure you have read/write access to an FTP server.  Write access is required
+		so that a file can be marked as "completed" (or just deleted) and not reprocessed 
+		again and again.
+    3.  In a command terminal window in the quickstart folder type 'ant deploy-jms-queues'.
 
-To Run:
-=======
-	1.  In a command window type "ant" to bring up the listener
-	2.  In a second command window type "ant runtest" to execute
-	3.  You should see the file contents displayed in the listener window
-	
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    2.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    3.  Switch back to "Window1" to see the output from the ESB. You should see the file contents 
+		displayed in the listener window
+
 What to consider in this Quickstart:
 ===================================	
 1) The FTP configuration has been initialised in ../quickstarts.properties

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_sql_action/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_sql_action/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_sql_action/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,120 +1,65 @@
 <project name="Quickstart_helloworld_SQL_action" default="run" basedir=".">
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+	
+	<property name="additional.deploys" value="lib/*.jar" />
+	
+	
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
   
-  <property file="../quickstarts.properties" />
-  
-  <property name="build.dir" value="${basedir}/build"/>
-  <property name="src.dir" value="${basedir}/src"/>
-		
-  <property name="esb-config" value="${basedir}/jboss-esb.xml"/>
-
-	<path id="classpath">
-    <!-- fileset dir="${basedir}" includes="jbossesb-properties.xml" -->
-    <!-- fileset dir="${basedir}" includes="juddi.properties" -->
-    
-	<fileset dir="${esb.product.lib.dir}" includes="*jar"/>
-	<fileset dir="${esb.product.lib.dir}" includes="*xml"/>
-	<fileset dir="${esb.product.lib.dir}/ext" includes="*jar"/>
-	<fileset dir="${jbosshome.dir}/client" includes="*jar"/>
-	<fileset dir="${jbosshome.dir}/server/default/lib">
-			<include name="jboss-j2ee.jar"/> <!-- added this for the JMS client -->
-	</fileset>		
-  	
-  <fileset dir="${basedir}" includes="build/**/*.jar"/>
-  <fileset dir="${basedir}" includes="build/**/*.xml"/>
-  <pathelement location="." />
-  
-  </path>
- 
-  <property name="cp" refid="classpath"/>
-  
-  <target name="echoCP">    
-  	<echo message="Classpath is ${cp}"/>
-  </target>
-  
-  <target name="prepare">
-	<mkdir dir="${build.dir}" />
-  </target>
-
-  <target name="clean">
-	<delete dir="${build.dir}" />
-  </target>
-
-  <target name="compile" depends="prepare">
-	<javac srcdir="${src.dir}"
-	   destdir="${build.dir}">
-	  <classpath refid="classpath"/>
- 	</javac>
-  </target>
-
-  <target name="jars" depends="compile">
-  	<copy file="${esb-config}" tofile="${build.dir}/META-INF/jboss-esb.xml"/>
-	<delete file="${build.dir}/${ant.project.name}.jar"/>
-        <jar destfile="${build.dir}/${ant.project.name}.jar"
-		basedir="${build.dir}"
-		includes="**/*.class"/>
-  	<jar destfile="${build.dir}/${ant.project.name}.esb"
-  		basedir="${build.dir}" includes="**/*.class,META-INF/jboss-esb.xml"/>
-  </target>
-
-  <target name="run" depends="jars">
-	     <echo>Basic FTP Gateway and JMS Listener with Actions</echo>
-	     <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">  
-	     	<arg value="${esb-config}"/>
-			<classpath refid="classpath"/>
-	     </java>     
-  </target>	
-
-  <target name="runtest">
+  <target name="runtest"
+  	description="Insert row data into sql table polled by gateway">
      <echo>Insert row data into sql table polled by gateway</echo>
   	<exec executable="mysql" input="populate.sql" >
   		<arg value="--user=root" />
-  		<arg value="--password=admin" />
+  		<arg value="--password=root" />
   		<arg value="--database=test_sql_gateway" />
   	</exec>
   </target>  
 
-  <target name="deploy" depends="jars">
-	    <echo>Deploys the project to the JBoss Application Server</echo>
-	  	<copy file="${build.dir}/${ant.project.name}.esb" overwrite="true"
-	  		todir="${jbosshome.dir}/server/default/deploy"	
-	  	/>
-  </target>
-	
-	  <target name="dropdb">
+	  <target name="dropdb" 
+		description="drop database">
 	    <echo>Drop database</echo>
 	  	<exec executable="mysql" >
 	  		<arg value="--user=root" />
-	  		<arg value="--password=admin" />
+	  		<arg value="--password=" />
 	  		<arg value="--execute=drop database test_sql_gateway" />
 	  	</exec>
 	  </target>  
 
-	<target name="createdb">
+	<target name="createdb"
+		description="createdb">
 	    <echo>Create database and test table</echo>
 	  	<exec executable="mysql" input="create.sql" >
 	  		<arg value="--user=root" />
-	  		<arg value="--password=admin" />
+	  		<arg value="--password=" />
 	  	</exec>
 	  </target>  
 
-	  <target name="purgetable">
+	  <target name="purgetable"
+		description="purgetable">
 	     <echo>Purge sql table polled by gateway</echo>
 	  	<exec executable="mysql" >
 	  		<arg value="--user=root" />
-	  		<arg value="--password=admin" />
+	  		<arg value="--password=" />
 	  		<arg value="--database=test_sql_gateway" />
 	  		<arg value="--execute=delete from gateway_table" />
 	  	</exec>
 	  </target>  
 
-	  <target name="select">
+	  <target name="select"
+		description="select * from gateway_table">
 	     <echo>Select * from gateway_table</echo>
 	  	<exec executable="mysql" >
 	  		<arg value="--user=root" />
-	  		<arg value="--password=admin" />
+	  		<arg value="--password=" />
 	  		<arg value="--database=test_sql_gateway" />
 	  		<arg value="--execute=select * from gateway_table" />
 	  	</exec>
 	  </target>  
 
-</project>
\ No newline at end of file
+</project>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_sql_action/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_sql_action/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_sql_action/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,12 +1,62 @@
+Overview:
+=========
+	This quickstart demonstrates an SQL listener. This test is configured to use a mysql database 
+	running in localhost (see jbossesb.xml).
 
-This test is configured to use a mysql database running in localhost (see jbossesb.xml).
-the jar containing the mysql (or whichever DB you decide to use) must be in the classpath
+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.
 
-Configure the sql scripts in this directory (create.sql and populate.sql) to your preferences
+Before Running:
+===============
+	1.	install mysql if you have not already.
+	2.	start the  mysql database
+	3.	edit mysql.proprties with the user and password to be used with mysql 
+	4.	ant createdb
 
-You can also configure other preferences by modifying the following build.xml targets:
-	dropdb, createdb (that runs the create.sql)"  ,purgetable
-	and runtest (that runs the populate.sql)
 
-There's a helpful target (select) to see status of table polled by gateway
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-queues'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to "Window1" to see the output from the ESB
 
+To Run '.esb' archive mode:
+===========================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-queues'.
+    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 to Application Server console to see the output from the ESB
+
+    'run' target description:
+    In a command prmompt window, start the listeners by simply running "ant"
+    in this directory.  You might review the build.xml file to see how it is setup.
+    More details on the build.xml can be found later in this document.  Shutdown
+    the listener by simply using Ctrl-C in that window.
+
+    'runtest' target description:
+    In a separate command prompt window, run "ant runtest" will insert values into
+	the database by executing the populate.sql database script. You can modify this
+	file and observe the change.
+
+	You can also configure other preferences by modifying the following build.xml targets:
+	dropdb, createdb (that runs the create.sql),purgetable and runtest (that runs the populate.sql)
+
+	There's a helpful target (select) to see status of table polled by gateway
+
+Project file descriptions:
+==========================
+	jbossesb.xml:
+    The JMS gateway and ESB configuration file. It is listening for new rows in the gateway table.
+
+	create.sql:
+	Will create the database and tables.
+
+	populate.sql:
+	This is what gets inserted into the database when the runtest target is run.
+
+	lib:
+	Additional jars needed. For example jar for database drivers
+

Modified: labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,67 +1,42 @@
 <project name="jbpm_simple1" default="runtest" basedir=".">
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+	
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
+	
+	<property name="jbpm.services.dir" value="${product.dir}/services/jbpm"/>
+	<property name="jbpm.services.build.dir" value="${jbpm.services.dir}/build"/>
+	
+	<available file="${jbpm.services.build.dir}" type="dir" property="jbpm.isBuilt"/>
+	<fail unless="jbpm.isBuilt"
+		message="services/jbpm has not been built. Please build and re-run this target"  />	
   
-  <property file="../quickstarts.properties" />
-  
-  <property name="build.dir" value="${basedir}/build"/>
-  <property name="src.dir" value="${basedir}/src"/>
-		
-  <property name="esb-config" value="${basedir}/jbossesb.xml"/>
+	<path id="quickstart-dependencies-classpath">
+      <fileset dir="${basedir}" includes="build/**/*.jar"/>
+      <fileset dir="${basedir}" includes="build/**/*.xml"/>
+      <pathelement location="${jbpm.services.build.dir}/jbpm.esb" />
+      <fileset dir="${jbpm.services.build.dir}/jbpm.esb" includes="*jar"/>
+    </path>
 
-	<path id="classpath">
-    <!-- fileset dir="${basedir}" includes="jbossesb-properties.xml" -->
-    <!-- fileset dir="${basedir}" includes="juddi.properties" -->
-    <fileset dir="${basedir}/lib" includes="*jar"/>    
-	<fileset dir="${esb.product.lib.dir}" includes="*jar"/>
-	<fileset dir="${esb.product.lib.dir}" includes="*xml"/>
-	<fileset dir="${esb.product.lib.dir}/ext" includes="*jar"/>
-	<fileset dir="${jbosshome.dir}/client" includes="*jar"/>
-	<fileset dir="${jbosshome.dir}/server/default/lib">
-			<include name="jboss-j2ee.jar"/> <!-- added this for the JMS client -->
-	</fileset>		
-  	
-  <fileset dir="${basedir}" includes="build/**/*.jar"/>
-  <fileset dir="${basedir}" includes="build/**/*.xml"/>
-  <fileset dir="../../../build/jbossesb/lib" includes="*.jar" />
-  <pathelement location="." />
-  <pathelement location="../../../services/jbpm/build/jbpm.esb" />
-  <fileset dir="../../../services/jbpm/build/jbpm.esb" includes="*jar"/>
-  </path>
- 
-  <property name="cp" refid="classpath"/>
-  
-  <target name="echoCP">    
-  	<echo message="Classpath is ${cp}"/>
-  </target>
-  
-  <target name="prepare">
-	<mkdir dir="${build.dir}" />
-  </target>
-
-  <target name="clean">
-	<delete dir="${build.dir}" />
-  </target>
-
-  <target name="compile" depends="prepare">
-	<javac srcdir="${src.dir}" debug="true"
-	   destdir="${build.dir}">
-	  <classpath refid="classpath"/>
- 	</javac>
-  </target>
-
-  <target name="jars" depends="compile">
-	<delete file="${build.dir}/${ant.project.name}.jar"/>
-        <jar destfile="${build.dir}/${ant.project.name}.jar"
-		basedir="${build.dir}"
-		includes="**/*.class"/>
-  </target>
-
-  <target name="runtest" depends="jars">
-     <echo>Example of a full jBPM process lifecycle</echo>
-     
-     <java fork="yes" classname="quickstart.jbpm_simple1.test.TestCommandMessages" failonerror="true">
-		<classpath refid="classpath"/>
-		<sysproperty key="log4j.configuration" value="log4j.xml" />
-     </java>
+	<target name="runtest" depends="compile"
+		description="run full jBPM process lifecycle test">
+		<echo>Example of a full jBPM process lifecycle</echo>
+	     
+	     <java fork="yes" classname="quickstart.jbpm_simple1.test.TestCommandMessages" failonerror="true">
+			<classpath refid="exec-classpath"/>
+			<sysproperty key="log4j.configuration" value="log4j.xml" />
+	     </java>
   </target>  
+	
+	<target name="quickstart-specific-deploys">
+		<echo message="deploying jbpm.esb to ${org.jboss.esb.server.deploy.dir}" />
+        <copy todir="${org.jboss.esb.server.deploy.dir}/jbpm.esb" >
+			<fileset dir="${jbpm.services.build.dir}/jbpm.esb"/>
+		</copy>
+    </target>
 
-</project>
\ No newline at end of file
+</project>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/jbpm_simple1/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,23 +1,36 @@
+Overview:
+=========
+	This test assumes that  .../product/services/jbpm/build/jbpm.esb has been deployed
+	in the esb container deploy directory, and that the esb container is up and running
 
+	The jbpm service is configured to use JMS transport,   queue/B with a message 
+	selector:  type='toJbpm' (see .../product/services/jbpm/jboss-esb.xml)
 
-This test assumes that  .../product/services/jbpm/build/jbpm.esb has been deployed
-in the esb container deploy directory, and that the esb container is up and running
+	It illustrates the lowest level method to invoke the jBPM API:  
+	  all jBPM parameters travel in the Message in a predefined format 
+	  (see org.jboss.soa.esb.services.jbpm.util.CommandVehicle)
 
-The jbpm service is configured to use JMS transport,   queue/B with a message 
-selector:  type='toJbpm' (see .../product/services/jbpm/jboss-esb.xml)
+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.
 
-It illustrates the lowest level method to invoke the jBPM API:  
-  all jBPM parameters travel in the Message in a predefined format 
-  (see org.jboss.soa.esb.services.jbpm.util.CommandVehicle)
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-dests'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  Switch to the application server console to see the output from the ESB
 
-1) A simple process definition (processdefinition.xml) is added to the jBPM DB
-2) new process instance for it is created
-3) a signal is sent to the token id returned in the previous call
-4) a signal is sent to the current process instance id
-5) the process instance is interrogated to see if it has ended
 
-To start the quickstart just type 'ant'
+What to look for in this Quickstart:
+====================================
+	1) A simple process definition (processdefinition.xml) is added to the jBPM DB
+	2) new process instance for it is created
+	3) a signal is sent to the token id returned in the previous call
+	4) a signal is sent to the current process instance id
+	5) the process instance is interrogated to see if it has ended
 
-Other quickstarts will use higher level jBPM related specialized services that
-require simpler interfaces, but that under the covers will still use this  low
-level command message interface
\ No newline at end of file
+
+	Other quickstarts will use higher level jBPM related specialized services that
+	require simpler interfaces, but that under the covers will still use this low
+	level command message interface

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/more_action/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/more_action/base-build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/more_action/base-build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,80 +0,0 @@
-<project name="Base" default="run" basedir=".">
-
-	<property file="../quickstarts.properties" />
-
-    <property name="additional.deploys" value="" />
-
-    <property name="classes" value="build/classes" />
-
-	<path id="compile-classpath">
-		<fileset dir="lib" includes="*.jar" /> <!-- Quickstart Specific Jars. -->
-		<fileset dir="../../../lib/ext" includes="*.jar" /> <!-- Product Dependencies. -->
-		<fileset dir="${esb.product.lib.dir}" includes="*.jar" /> <!-- Product Jars. -->
-	</path>
-	<path id="exec-classpath">
-		<pathelement location="." />
-	    <pathelement location="build/classes" />
-        <pathelement location="src" />
-		<path refid="compile-classpath" />
-		<fileset dir="${jbosshome.dir}/server/default/lib" includes="jboss-j2ee.jar" /> <!-- Required for JMS Client Code. -->
-	</path>
-
-	<target name="compile" depends="clean">
-		<mkdir dir="${classes}" />
-		<javac srcdir="src" destdir="${classes}">
-			<classpath refid="compile-classpath" />
-		</javac>
-	</target>
-
-	<target name="run" depends="compile">
-		<echo>Launching Quickstart in standalone mode...</echo>
-		<java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
-			<arg value="./jbossesb.xml" />
-			<classpath refid="exec-classpath" />
-		</java>
-	</target>
-
-    <target name="deployToSAR">
-        <echo message='******************' />
-        <echo message='DEPRECATED!!  Sorry, this target has been deprecated for Quickstart Deployment.' />
-        <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}' />
-        <echo message='******************' />
-        <fail />
-    </target>
-
-    <target name="deploy" depends="compile">
-		<echo>Deploying Quickstart to JBoss ESB Server...</echo>
-
-        <mkdir dir="build/META-INF" />
-        <copy todir="build/META-INF">
-            <fileset dir="./" includes="jboss-esb.xml" />
-        </copy>
-
-        <jar destfile="build/${ant.project.name}.esb">
-           <fileset dir="build/classes" />
-           <fileset dir="src" excludes="**/*.java" />
-           <fileset dir="build" includes="META-INF/**" />
-           <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
-        </jar>
-
-        <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/" />
-
-        <echo message='${line.separator}******************' />
-        <echo>Quickstart deployed to target JBoss ESB Server at '${jbosshome.dir}'.</echo>
-        <echo>1.  Check your ESB Server console to make sure the deployment was executed without errors.</echo>
-        <echo>2.  Run 'ant runtest' to run the Quickstart.</echo>
-        <echo>3.  Check your ESB Server console again.  The Quickstart should have produced some output.</echo>
-        <echo message='******************' />
-
-    </target>
-
-	<target name="echoCP">
-		<property name="cp" refid="exec-classpath" />
-		<echo message="Classpath is ${cp}" />
-	</target>
-
-	<target name="clean">
-		<delete dir="build" />
-	</target>
-
-</project>
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/more_action/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/more_action/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/more_action/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,13 +1,18 @@
 <project name="Quickstart_more_action" default="run" basedir=".">
 	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+	
 	<!-- Import the base Ant build script... -->
-	<import file="base-build.xml"/>
+	<import file="../conf/base-build.xml"/>
 	
-  <target name="runtest">
+  <target name="runtest" description="sends a JMS Message to the ESB" depends="compile">
      <echo>Runs Test JMS Sender</echo>
      <java fork="yes" classname="quickstart.moreaction.test.SendJMSMessage" failonerror="true">
      	<arg value="Goodbye World"/>
 		<classpath refid="exec-classpath"/>
      </java>
   </target>  
-</project>
\ No newline at end of file
+</project>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/more_action/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/more_action/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/more_action/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,30 +1,77 @@
-The purpose of the more_action quickstart example is to show different ways of using Action classes.
+Overview:
+=========
+	The purpose of the more_action quickstart example is to show different ways of using Action classes.
 
-In the jbossesb.xml:
+	In the jbossesb.xml:
 	   <action class="quickstart.MyJMSListenerAction" process="displayMessage" exceptionMethod="exceptionHandler" />	  
    	   <action class="quickstart.MyJMSListenerAction" exceptionMethod="exceptionHandler" />
    	   <action class="quickstart.StatefulAction"  process="methodOne,methodTwo,displayCount" exceptionMethod="exceptionHandler" />
    	   <action class="quickstart.CustomConfigAction" process="displayConfig"
 			myStuff="rocks"
-			moreStuff="rocks harder"   	   
-   	   >
+			moreStuff="rocks harder">
    	   		<subElement1>Value of 1</subElement1>
    	   		<subElement2>Value of 2</subElement2>
    	   		<subElement3>Value of 3</subElement3>
    	   </action>
    	   
-   	   
-The second MyJMSListenerAction doesn't have a "process" attribute.  That means JBoss ESB is looking for a
-method with the following signature:
-  public Message process(Message message) {
+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.
 
-The StatefulAction declaration has a process attribute that has a command delimited list of method names.
-These methods will be called in the order in which they appear in the list. In addition, the StatefulAction
-class is only instantiated one time and all method calls are executed against the same instance.  
-When you execute this example you'll be able to see that the cnt maintains its state between method calls.
-If you would like to see the alternative of calling each method with a new instance of StatefulAction 
-review the esb-config.xml.backup file that lists all the actions individually.
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-queues'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to "Window1" to see the output from the ESB
 
-The CustomConfigAction demonstrates how to access custom attributes on the main action tag and child
-elements of the action tag.  As an action developer you have full access to these items as a means of
-configuration for your action thus making them more reusable between various projects.
+To Run '.esb' archive mode:
+===========================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-queues'.
+    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
+
+    'run' target description:
+    In a command prmompt window, start the listeners by simply running "ant"
+    in this directory.  You might review the build.xml file to see how it is setup.
+    More details on the build.xml can be found later in this document.  Shutdown
+    the listener by simply using Ctrl-C in that window.
+
+    'runtest' target description:
+    In a separate command prompt window, run "ant runtest" to shoot a JMS message
+    into the listener which will then invoke the MyJMSListenerAction and display
+    it to the console.  You can modify the build.xml to change the phrase
+    "Hello World" to something else and re-run "ant runtest".
+
+Project file descriptions:
+==========================
+	jbossesb.xml:
+       <action class="quickstart.MyJMSListenerAction" process="displayMessage" exceptionMethod="exceptionHandler" />
+       <action class="quickstart.MyJMSListenerAction" exceptionMethod="exceptionHandler" />
+       <action class="quickstart.StatefulAction"  process="methodOne,methodTwo,displayCount" exceptionMethod="exceptionHandler" />
+       <action class="quickstart.CustomConfigAction" process="displayConfig"
+            myStuff="rocks"
+            moreStuff="rocks harder">
+            <subElement1>Value of 1</subElement1>
+            <subElement2>Value of 2</subElement2>
+            <subElement3>Value of 3</subElement3>
+       </action>
+
+	The second MyJMSListenerAction doesn't have a "process" attribute.  That means JBoss ESB is looking for a
+	method with the following signature:
+	  public Message process(Message message) {
+
+	The StatefulAction declaration has a process attribute that has a command delimited list of method names.
+	These methods will be called in the order in which they appear in the list. In addition, the StatefulAction
+	class is only instantiated one time and all method calls are executed against the same instance.  
+	When you execute this example you'll be able to see that the cnt maintains its state between method calls.
+	If you would like to see the alternative of calling each method with a new instance of StatefulAction 
+	review the esb-config.xml.backup file that lists all the actions individually.
+
+	The CustomConfigAction demonstrates how to access custom attributes on the main action tag and child
+	elements of the action tag.  As an action developer you have full access to these items as a means of
+	configuration for your action thus making them more reusable between various projects.
+
+

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/quickstarts.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/quickstarts.properties	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/quickstarts.properties	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,23 +0,0 @@
-##############################################################################################
-# Environment specific properties for executing the quickstarts.
-#
-# NOTE: This variable should only require modification if running the quickstarts
-# from source i.e. DO NOT MODIFY if you're running from a downloaded distribution.
-# 
-# Note: If running from source, you'll need to switch "esb.product.lib.dir" to point to 
-# "../../../build/jbossesb/lib" and "jbosshome.dir" to point to "../../../build/jbossesb-server-4.2.MR1/".
-# DO NOT CHECK THIS IN!
-##############################################################################################
-esb.product.lib.dir=../../../build/jbossesb/lib
-#esb.product.lib.dir=../../../lib
-
-# Location of your JBoss Application Server installation.
-# NB: Avoid using back slashes '\' in the path - '/' works on all platforms.
-#jbosshome.dir=../../../build/jbossesb-server-4.2.MR1/
-jbosshome.dir=/jboss-4.0.5.GA
-
-# If you are running the ftp tests then you must complete the following
-jbossesb.ftp.hostname=
-jbossesb.ftp.username=
-jbossesb.ftp.password=
-jbossesb.ftp.directory=

Modified: labs/jbossesb/trunk/product/samples/quickstarts/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,3 +1,6 @@
+Please run 'ant help-quickstarts' from any quickstart project or read conf/readme.txt for 
+information about running the quickstarts
+
 The purpose of the quickstart samples is to illustrate various JBoss ESB product
 features and general "how tos".
 
@@ -5,15 +8,21 @@
 improving on the ones contained here simply post on the JBoss ESB User Forum 
 with "quickstart" in the subject line and a description of your thoughts.
 
-Each quickstart has its own readme.txt file that should be reviewed carefully.
+Each quickstart has its own readme.txt file that should be reviewed carefully. This can
+also be displayed by running 'ant help'. 
+Run 'ant -p' to see which targets are available for each quickstart.
 
-Each quickstart has its own build.xml file that uses the central "quickstarts.properties" file.
-Make sure to modify this file to point to your specific version of JBoss AS and JBoss ESB.
-In the example below, it assumes there is a "jboss" directory off the current root which includes
-a JBoss AS installation called "jboss-4.0.4.GA" and a JBoss ESB installation called "jbossesb".
-esb.product.lib.dir=/jboss/jbossesb/lib
-jbosshome.dir=/jboss/jboss-4.0.4.GA
+If you wish to run the quickstarts against a different server then the one that you deployed to when 
+you ran 'ant deploy' in the product/install directory then you can modify this file to point to 
+your specific version of JBoss AS.
+org.jboss.esb.server.home=/opt/jboss/jboss405-GA
+jboss.server=quickstarts
 
+
+#### TODO #### 
+What needs to be here? Could we have most of this in conf/readme.txt ?
+
+
 Prerequisites:
 - Assumes you are comfortable working at the command line with Ant
 - Assumes you are running JBossMQ on JBoss Application Server. Other JMS
@@ -76,3 +85,5 @@
 JBoss ESB.  It uses the Transformation engine as well as the static-routing feature.
 It also demonstrations the use of multiple JVMs running different services.
 This is a fairly advanced demonstration.
+
+#### END TODO #### 

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/README.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/README.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/README.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,25 +0,0 @@
-Overview:
-=========
-    Simple quickstart demonstrating implementation of a Groovy scripted action using
-    the GroovyActionProcessor. 
-
-Before Running:
-===============
-    1. Update the "org.jboss.esb.appserver.home" property in the quickstarts.properties file in "../".
-    2. Make sure to run the the ant script in the "install" folder of the distribution.  This
-       deploys the required SARs to your JBoss Application Server instance.
-    3. Make sure the JBoss Application server is running.
-
-
-To Run:
-=======
-    1. In a command terminal window in this folder ("Window1"), type "ant run".
-    2. Open another command terminal window in this folder ("Window2"), type "ant runtest".
-    3. Switch back to "Window1" to see the output from the Groovy action scripts.
-    
-    Note that, as with all these Quickstarts, you can deploy and run them through your local
-    JBoss Application Server instance.  To do this, skip step 1 above and in it's place 
-    execute the following Ant task:
-        "ant deployToSAR"
-    This will packagce up this Quickstart and deploy it to your JBoss AS instance.  The Quickstart
-    "Service" will automatically start then.  At that point, continue with steps 2 and 3.

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/base-build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/base-build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,81 +0,0 @@
-<project name="Base" basedir=".">
-
-	<property file="../quickstarts.properties" />
-
-    <property name="additional.deploys" value="" />
-
-    <property name="classes" value="build/classes" />
-
-	<path id="compile-classpath">
-		<fileset dir="lib" includes="*.jar" /> <!-- Quickstart Specific Jars. -->
-		<fileset dir="../../../lib/ext" includes="*.jar" /> <!-- Product Dependencies. -->
-		<fileset dir="${esb.product.lib.dir}" includes="*.jar" /> <!-- Product Jars. -->
-	</path>
-	<path id="exec-classpath">
-		<pathelement location="." />
-        <pathelement location="src" />
-		<pathelement location="build/classes" />
-		<path refid="compile-classpath" />
-		<fileset dir="${jbosshome.dir}/server/default/lib" includes="jboss-j2ee.jar" /> <!-- Required for JMS Client Code. -->
-	</path>
-
-	<target name="compile" depends="clean">
-		<mkdir dir="${classes}" />
-		<javac srcdir="src" destdir="${classes}">
-			<classpath refid="compile-classpath" />
-		</javac>
-	</target>
-
-	<target name="run" depends="compile">
-		<echo>Launching Quickstart in standalone mode...</echo>
-		<java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
-			<arg value="./jbossesb.xml" />
-			<classpath refid="exec-classpath" />
-		</java>
-	</target>
-
-    <target name="deployToSAR">
-        <echo message='******************' />
-        <echo message='DEPRECATED!!  Sorry, this target has been deprecated for Quickstart Deployment.' />
-        <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}' />
-        <echo message='******************' />
-        <fail />
-    </target>
-
-    <target name="deploy" depends="compile">
-		<echo>Deploying Quickstart to JBoss ESB Server...</echo>
-
-        <mkdir dir="build/META-INF" />
-        <copy todir="build/META-INF">
-            <fileset dir="./" includes="jboss-esb.xml,deployment.xml" />
-        </copy>
-
-        <jar destfile="build/${ant.project.name}.esb">
-           <fileset dir="build/classes" />
-           <fileset dir="src" excludes="**/*.java" />
-           <fileset dir="build" includes="META-INF/**" />
-           <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
-           <fileset dir="./" includes="${additional.deploys}" />
-        </jar>
-
-        <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/" />
-
-        <echo message='${line.separator}******************' />
-        <echo>Quickstart deployed to target JBoss ESB Server at '${jbosshome.dir}'.</echo>
-        <echo>1.  Check your ESB Server console to make sure the deployment was executed without errors.</echo>
-        <echo>2.  Run 'ant runtest' to run the Quickstart.</echo>
-        <echo>3.  Check your ESB Server console again.  The Quickstart should have produced some output.</echo>
-        <echo message='******************' />
-
-    </target>
-
-	<target name="echoCP">
-		<property name="cp" refid="exec-classpath" />
-		<echo message="Classpath is ${cp}" />
-	</target>
-
-	<target name="clean">
-		<delete dir="build" />
-	</target>
-
-</project>
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,14 +1,17 @@
 <project name="scripting-groovy-quickstart" default="deploy" basedir=".">
-
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+	
     <property name="additional.deploys" value="scripts/**" />
-
+	
 	<!-- Import the base Ant build script... -->
-	<import file="base-build.xml"/>
+	<import file="../conf/base-build.xml"/>
 
-	<!-- The ESB itself is started by the default "run" target - defined in base-build.xml  -->
-
 	<!-- Target for injecting the sample order message for transformation... -->
-	<target name="runtest">
+	<target name="runtest" description="sends a JMS message to the ESB" depends="compile">
 		<echo>Runs Test JMS Sender</echo>
         <java fork="yes" classname="quickstart.groovyaction.test.SendJMSMessage" failonerror="true">
             <arg value="Goodbye World"/>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/jbm-queue-service.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/jbm-queue-service.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -4,10 +4,12 @@
            name="jboss.messaging.destination:service=Queue,name=quickstart_scripting_groovy_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.messaging.destination:service=Queue,name=quickstart_scripting_groovy_esb"
            xmbean-dd="xmdesc/Queue-xmbean.xml">
         <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+		<depends>jboss.messaging:service=PostOffice</depends>
     </mbean>
-</server>
\ No newline at end of file
+</server>

Added: labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/readme.txt	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,24 @@
+Overview:
+=========
+    Simple quickstart demonstrating implementation of a Groovy scripted action using
+    the GroovyActionProcessor. 
+
+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.
+
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-queues'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to "Window1" to see the output from the Groovy action scripts.
+
+To Run '.esb' archive mode:
+===========================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-queues'.
+    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
+

Modified: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,110 +1,57 @@
 <project name="Quickstart_simple_cbr" default="run" basedir=".">
-
- <property file="../quickstarts.properties" />
-
- <property name="build.dir"
-    value="${basedir}/build"/>
- <property name="src.dir"
-    value="${basedir}/src"/>
 	
- <property name="esb-config-name" value="jboss-esb.xml"/>
- <property name="esb-config" value="${basedir}/${esb-config-name}"/>
-  
-	<path id="classpath">
-    <!-- fileset dir="${basedir}" includes="jbossesb-properties.xml" -->
-    <!-- fileset dir="${basedir}" includes="juddi.properties" -->
-    <fileset dir="${basedir}/lib" includes="*jar"/>        
-    <fileset dir="${esb.product.lib.dir}" includes="*jar"/>
-	<fileset dir="${esb.product.lib.dir}" includes="*xml"/>
-	<fileset dir="${esb.product.lib.dir}/ext" includes="*jar"/>
-
-	<fileset dir="${jbosshome.dir}/client" includes="*jar"/>
-	<fileset dir="${jbosshome.dir}/server/default/lib">
-	  <include name="jboss-j2ee.jar"/> <!-- added this for the JMS client -->
-	 </fileset>		
-    <pathelement location="build" />
-    <fileset dir="${basedir}" includes="build/**/*.jar"/>
-  	<fileset dir="${basedir}" includes="build/**/*.xml"/>
-    <pathelement location="." />  
-  </path>
- 
-  <property name="cp" refid="classpath"/>
-  
-  <target name="echoCP">    
-  	<echo message="Classpath is ${cp}"/>
-  </target>
-  
-  <target name="prepare">
-	<mkdir dir="${build.dir}" />
-  </target>
-
-  <target name="clean">
-	<delete dir="${build.dir}" />
-  </target>
-
-  <target name="compile" depends="prepare">
-	<javac srcdir="${src.dir}"
-	   destdir="${build.dir}">
-	  <classpath refid="classpath"/>
- 	</javac>
-  </target>
-
-  <target name="jars" depends="compile">
-  	<copy file="${esb-config-name}" tofile="${build.dir}/META-INF/${esb-config-name}"/>
-  	<copy file="jbm-queue-service.xml" tofile="${build.dir}/jbm-queue-service.xml"/>
-	<delete file="${build.dir}/${ant.project.name}.jar"/>
-  	<delete file="${build.dir}/${ant.project.name}.esb"/>
-    <jar destfile="${build.dir}/${ant.project.name}.jar"
-		basedir="${build.dir}"
-		includes="**/*.class"/>
-  	<jar destfile="${build.dir}/${ant.project.name}.esb"
-  		basedir="${build.dir}"
-  		includes="**/*.class,META-INF/${esb-config-name},jbm-queue-service.xml"/>
-  	<!-- Rules files must be jarred and on the classpath -->
-    <jar destfile="${build.dir}/${ant.project.name}_rules.jar"
-		basedir="${basedir}/src/services/rules" includes="*.*"/>
-  </target>
-
-  <target name="run" depends="jars">
-	    <echo>Simple CBR: make sure to also run receiveExpress, receiveNormal</echo>
-			 <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">  
-		  	   	<arg value="${esb-config}"/>
-		  		<classpath refid="classpath"/>
-		  	 </java>
-  </target>
-
-  <target name="deploy" depends="jars">
-		    <echo>Deploys the project to the JBoss Application Server ESB SAR</echo>
-		  	<copy file="${build.dir}/${ant.project.name}.esb" overwrite="true"
-		  		todir="${jbosshome.dir}/server/default/deploy"	
-		  	/>
-  			<copy file="${build.dir}/${ant.project.name}_rules.jar" overwrite="true"
-  			  		todir="${jbosshome.dir}/server/default/deploy/jbossesb.sar/lib"	
-  			  	/>
-		  	<echo>Check your AS console to see if everything deployed properly then run 'ant runtest'</echo>
-  </target>
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
 	
-  <target name="runtest">
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
+		
+	<property name="rules.jar.name" value="${ant.project.name}_rules.jar"/>
+	<property name="myrules.drl" value="MyESBRules.drl"/>
+	<property name="myrules.xpath.drl" value="MyESBRules-XPath.drl"/>
+	
+    <property name="additional.deploys" value=" build/classes/${myrules.drl}, build/classes/${myrules.xpath.drl}" />
+	
+	<target name="quickstart-specific-deploys">
+        <echo message="jar rules to ${rules.jar.name}" />
+	    <jar destfile="${rules.jar.name}" basedir="${basedir}/src/services/rules" includes="*.*"/>
+        <copy 
+			todir="build/lib" 
+			file="${rules.jar.name}"  />
+    </target>
+	
+	<target name="config">
+        <copy todir="${basedir}/build/classes" >
+			<fileset dir="src/services/rules">
+				<include name="${myrules.drl}"/>	
+				<include name="${myrules.xpath.drl}"/>	
+			</fileset>
+		</copy>
+	</target>
+
+  <target name="runtest" description="sends a JMS message to the ESB" depends="compile">
      <echo>Runs Test JMS Sender</echo>
      <java fork="yes" classname="quickstart.test.SendJMSMessage" failonerror="true">
-		<classpath refid="classpath"/>
+		<classpath refid="exec-classpath"/>
      </java>
   </target>  
 	
-  <target name="receiveExpress">
+  <target name="receiveExpress" description="runs Test JMS Receiver express" depends="compile">
 	 <echo>Runs Test JMS Receiver</echo>
 	 <java fork="yes" classname="quickstart.test.ReceiveJMSMessage" failonerror="true">
 	  	<arg value="queue/CBRExpressFreeShippingAlert"/>
-		<classpath refid="classpath"/>
+		<classpath refid="exec-classpath"/>
 	 </java>
   </target>  
 	
-  <target name="receiveNormal">
+  <target name="receiveNormal" description="runs Test JMS Receive normal" depends="compile">
 	 <echo>Runs Test JMS Receiver</echo>
 	 <java fork="yes" classname="quickstart.test.ReceiveJMSMessage" failonerror="true">
 	   	<arg value="queue/CBRNormalShippingAlert"/>
-		<classpath refid="classpath"/>
+		<classpath refid="exec-classpath"/>
 	 </java>
    </target>  
 	
-</project>
\ No newline at end of file
+</project>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,49 +1,81 @@
-The purpose of the simple_cbr quickstart is to demonstrate the Content Based Router in JBoss ESB.
+Overview:
+=========
+	The purpose of the simple_cbr quickstart is to demonstrate the Content Based Router in JBoss ESB.
 
-To self-demonstrate the example, open 4 command windows and insure that Ant and Java are in the PATH, 
-then execute the following commands, in order, one per command window:
-ant
-ant receiveExpress
-ant receiveNormal
-ant runtest
+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.
 
-"ant" - starts the listeners
-"ant receiveExpress" - in another command window, this process will wait for messages to hit the
-queue/CBRExpressFreeShippingAlert queue
-"ant receiveNormal" - in another command window, this process will wait for messages to hit the 
-queue/CBRNormalShippingAlert queue
-"ant runtest" - in another command window, this process will pick up the SampleOrder.xml and shoot it into
-the queue/quickstart_simple_cbr_Request queue which is identified in the esb-config-gateway.xml
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-queues'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  In a command terminal window in this folder ("Window2"), type 'ant receiveExpress'.
+    4.  In a command terminal window in this folder ("Window3"), type 'ant receiveNormal'.
+    3.  Open another command terminal window in this folder ("Window4"), type 'ant runtest'.
 
-Use a text editor to change the "totalAmount" in the order above/below $50 and re-execute ant runtest to 
-see the order flash up in the different receivers.
-<Order orderId="1" orderDate="Wed Nov 15 13:45:28 EST 2006" statusCode="0" 
-	netAmount="59.97" totalAmount="64.92" tax="4.95">
+To Run '.esb' archive mode:
+===========================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-queues'.
+    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
 
-What follows are the highlights that uncover some of the magic associated with CBR:
-* src\services\rules\MyESBRules-XPath.drl is a JBoss Rules ruleset that has simple logic that evaluates
-the totalAmount attribute of the SampleOrder.xml.  Over $50 means Free Express shipping, Under $50 means
-Normal shipping. 
-* src\services\rules\MyESBRules.drl can be used for selecting a path based upon a piece of meta-data
-as opposed to the message content.  It is not used in the example but provided anyway.
-* src\quickstart\test\ReceiveJMSMessage.java has been modified to accept the queue to listen to from
-the command line (from build.xml)
-* RouteExpressShipping.java - simply pushes the message to the CBRExpressFreeShippingAlert queue
-* RouteNormalShipping.java - simply pushes the message to the CBRNormalShippingAlert queue
-* build.xml creates an additional jar file for the rules files.  This jar file is also loaded into the 
-classpath.  
+
+	"ant run" :
+	Starts the listeners
+
+	"ant receiveExpress" 
+	In another command window, this process will wait for messages to hit the queue/CBRExpressFreeShippingAlert queue
+
+	"ant receiveNormal"
+	In another command window, this process will wait for messages to hit the queue/CBRNormalShippingAlert queue
+
+	"ant runtest"
+	In another command window, this process will pick up the SampleOrder.xml and shoot it into the 
+	queue/quickstart_simple_cbr_Request queue which is identified in the esb-config-gateway.xml
+
+
+	Use a text editor to change the "totalAmount" in the order above/below $50 and re-execute ant runtest to 
+	see the order flash up in the different receivers.
+	<Order orderId="1" orderDate="Wed Nov 15 13:45:28 EST 2006" statusCode="0" 
+		netAmount="59.97" totalAmount="64.92" tax="4.95">
+
+	What follows are the highlights that uncover some of the magic associated with CBR:
+	*	src\services\rules\MyESBRules-XPath.drl is a JBoss Rules ruleset that has simple logic that evaluates
+		the totalAmount attribute of the SampleOrder.xml.  Over $50 means Free Express shipping, Under $50 means
+		Normal shipping. 
+
+Project file descriptions:
+==========================
+	src\services\rules\MyESBRules.drl:
+	Can be used for selecting a path based upon a piece of meta-data as opposed to the message content.  
+	It is not used in the example but provided anyway.
+
+	src\quickstart\test\ReceiveJMSMessage.java:
+	Has been modified to accept the queue to listen to from the command line (from build.xml)
+
+	RouteExpressShipping.java:
+	Simply pushes the message to the CBRExpressFreeShippingAlert queue
+
+	RouteNormalShipping.java:
+	Ssimply pushes the message to the CBRNormalShippingAlert queue
+
+	build.xml 
+	Creates an additional jar file for the rules files. This jar file is also loaded into the classpath.  
     <jar destfile="${build.dir}/${ant.project.name}_Rules.jar"
 		basedir="${basedir}/src/services/rules" includes="*.*"/>
 		
-* jbossesb.xml establishes 3 services.  The first is the perform the CBR evaluation and has this
-action:
-  ruleSet="MyESBRules-XPath.drl" 
-  ruleLanguage="XPathLanguage.dsl"
- XPathLanguage.dsl lives in core\services\rules\XPathLanguage.dsl and ships as jbossesb-rules.jar
+	jbossesb.xml 
+	Establishes 3 services.  The first is the perform the CBR evaluation and has this action:
+	  ruleSet="MyESBRules-XPath.drl" 
+	  ruleLanguage="XPathLanguage.dsl"
+	 XPathLanguage.dsl lives in core\services\rules\XPathLanguage.dsl and ships as jbossesb-rules.jar
 
- * MyESBRules-XPath.drl routes to the appropriate destination service via this command
- Destination : "express";
+	 MyESBRules-XPath.drl:
+	 routes to the appropriate destination service via this command Destination : "express";
  
- In the jbossesb.xml the "express" destination is related to:
- "ExpressShipping" is the service-category (found in esb-config.xml)
- "ExpressShippingService" is the service-name (also found in the jbossesb.xml)
\ No newline at end of file
+	 In the jbossesb.xml the "express" destination is related to:
+	 "ExpressShipping" is the service-category (found in esb-config.xml)
+	 "ExpressShippingService" is the service-name (also found in the jbossesb.xml)

Modified: labs/jbossesb/trunk/product/samples/quickstarts/static_router/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/static_router/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/static_router/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,131 +1,76 @@
 <project name="Quickstart_static_router" default="run" basedir=".">
-  
-  <property file="../quickstarts.properties" />
-  
-  <property name="build.dir" value="${basedir}/build"/>
-  <property name="src.dir" value="${basedir}/src"/>
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
 		
-  <property name="jbossesb.name" value="jboss-esb.xml"/>
-  <property name="jbossesb.origconfig" location="${jbossesb.name}"/>
-
-  <property name="jbossesb.config" location="${build.dir}/${jbossesb.name}"/>
-
-  <property name="jbossesb.rootdir" location="${build.dir}/dirs"/>
-  <property name="jbossesb.staticrouter.dir" location="${jbossesb.rootdir}/staticrouter"/>
-  <property name="jbossesb.service1.dir" location="${jbossesb.rootdir}/service01"/>
-  <property name="jbossesb.service1.input" location="${jbossesb.service1.dir}/input"/>
-  <property name="jbossesb.service1.post" location="${jbossesb.service1.dir}/post"/>
-  <property name="jbossesb.service2.dir" location="${jbossesb.rootdir}/service02"/>
-  <property name="jbossesb.service2.input" location="${jbossesb.service2.dir}/input"/>
-  <property name="jbossesb.service2.post" location="${jbossesb.service2.dir}/post"/>
-  <property name="jbossesb.service3.dir" location="${jbossesb.rootdir}/service03"/>
-  <property name="jbossesb.service3.input" location="${jbossesb.service3.dir}/input"/>
-  <property name="jbossesb.service3.post" location="${jbossesb.service3.dir}/post"/>
-
-	<path id="classpath">
-    <!-- fileset dir="${basedir}" includes="jbossesb-properties.xml" -->
-    <!-- fileset dir="${basedir}" includes="juddi.properties" -->
-	<fileset dir="${esb.product.lib.dir}" includes="*jar"/>
-	<fileset dir="${esb.product.lib.dir}" includes="*xml"/>
-	<fileset dir="${esb.product.lib.dir}/ext" includes="*jar"/>
-    <fileset dir="${basedir}" includes="build/**/*.jar"/>
-    <fileset dir="${basedir}" includes="build/**/*.xml"/>
-    <pathelement location="." />
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
   
-  </path>
- 
-  <property name="cp" refid="classpath"/>
-  
-  <target name="echoCP">    
-  	<echo message="Classpath is ${cp}"/>
-  </target>
-  
-  <target name="prepare">
-	<mkdir dir="${build.dir}" />
-  </target>
+	<property name="jbossesb.name" value="jboss-esb.xml"/>
+	<property name="jbossesb.origconfig" location="${jbossesb.name}"/>
 
-  <target name="clean">
-	<delete dir="${build.dir}" />
-  </target>
+	<property name="jbossesb.config" location="${build.dir}/${jbossesb.name}"/>
 
-  <target name="compile" depends="prepare">
-	<javac srcdir="${src.dir}"
-	   destdir="${build.dir}">
-	  <classpath refid="classpath"/>
- 	</javac>
-  </target>
+	<property name="jbossesb.rootdir" location="${build.dir}/dirs"/>
+	<property name="jbossesb.staticrouter.dir" location="${jbossesb.rootdir}/staticrouter"/>
+	<property name="jbossesb.service1.dir" location="${jbossesb.rootdir}/service01"/>
+	<property name="jbossesb.service1.input" location="${jbossesb.service1.dir}/input"/>
+	<property name="jbossesb.service1.post" location="${jbossesb.service1.dir}/post"/>
+	<property name="jbossesb.service2.dir" location="${jbossesb.rootdir}/service02"/>
+	<property name="jbossesb.service2.input" location="${jbossesb.service2.dir}/input"/>
+	<property name="jbossesb.service2.post" location="${jbossesb.service2.dir}/post"/>
+	<property name="jbossesb.service3.dir" location="${jbossesb.rootdir}/service03"/>
+	<property name="jbossesb.service3.input" location="${jbossesb.service3.dir}/input"/>
+	<property name="jbossesb.service3.post" location="${jbossesb.service3.dir}/post"/>
 
-  <target name="config">
-    <delete dir="${jbossesb.rootdir}" quiet="true"/>
-    <mkdir dir="${jbossesb.rootdir}"/>
-    <mkdir dir="${jbossesb.staticrouter.dir}"/>
-    <mkdir dir="${jbossesb.service1.dir}"/>
-    <mkdir dir="${jbossesb.service1.input}"/>
-    <mkdir dir="${jbossesb.service1.post}"/>
-    <mkdir dir="${jbossesb.service2.dir}"/>
-    <mkdir dir="${jbossesb.service2.input}"/>
-    <mkdir dir="${jbossesb.service2.post}"/>
-    <mkdir dir="${jbossesb.service3.dir}"/>
-    <mkdir dir="${jbossesb.service3.input}"/>
-    <mkdir dir="${jbossesb.service3.post}"/>
+	<target name="config">
+		<delete dir="${jbossesb.rootdir}" quiet="true"/>
+		<mkdir dir="${jbossesb.rootdir}"/>
+		<mkdir dir="${jbossesb.staticrouter.dir}"/>
+		<mkdir dir="${jbossesb.service1.dir}"/>
+		<mkdir dir="${jbossesb.service1.input}"/>
+		<mkdir dir="${jbossesb.service1.post}"/>
+		<mkdir dir="${jbossesb.service2.dir}"/>
+		<mkdir dir="${jbossesb.service2.input}"/>
+		<mkdir dir="${jbossesb.service2.post}"/>
+	    <mkdir dir="${jbossesb.service3.dir}"/>
+		<mkdir dir="${jbossesb.service3.input}"/>
+		<mkdir dir="${jbossesb.service3.post}"/>
+		<antcall target="filter_jboss-esb.xml"/>
+		<copy file="log4j.xml" tofile="build/log4j.xml"/>
+	</target>
+	
+	<target name="runtest" depends="compile" description="runs the Test FTP file creator">
+		<echo>Runs Test FTP File creator</echo>
+		<java fork="yes" classname="quickstart.static_router.test.CreateTestFile" failonerror="true">
+			<arg value="${quickstart.jbossesb.ftp.hostname}"/>
+			<arg value="${quickstart.jbossesb.ftp.username}"/>
+			<arg value="${quickstart.jbossesb.ftp.password}"/>
+			<arg value="${quickstart.jbossesb.ftp.directory}/StaticRouter.dat"/>
+			<arg value="Hello World In A File (for static router test)"/> <!--  File Contents -->
+			<classpath refid="exec-classpath"/>
+		</java>
+	</target>  
+		
+	<target name="filter_jboss-esb.xml">
+		<copy file="${basedir}/jboss-esb-unfiltered.xml" tofile="${basedir}/jboss-esb.xml" overwrite="true" filtering="true">
+			<filterset>
+				<filter token="FTP_HOSTNAME" value="${quickstart.jbossesb.ftp.hostname}"/>
+		        <filter token="FTP_USERNAME" value="${quickstart.jbossesb.ftp.username}"/>
+		        <filter token="FTP_PASSWORD" value="${quickstart.jbossesb.ftp.password}"/>
+		        <filter token="FTP_DIRECTORY" value="${quickstart.jbossesb.ftp.directory}"/>
+		
+		        <filter token="STATICROUTER" value="${jbossesb.staticrouter.dir}"/>
+		        <filter token="SERVICE01" value="${jbossesb.service1.input}"/>
+		        <filter token="SERVICE01_POST" value="${jbossesb.service1.post}"/>
+		        <filter token="SERVICE02" value="${jbossesb.service2.input}"/>
+		        <filter token="SERVICE02_POST" value="${jbossesb.service2.post}"/>
+		        <filter token="SERVICE03" value="${jbossesb.service3.input}"/>
+		        <filter token="SERVICE03_POST" value="${jbossesb.service3.post}"/>
+		</filterset>
+		</copy>
+	</target>
 
-    <copy file="${jbossesb.origconfig}" tofile="${jbossesb.config}"
-        overwrite="true" filtering="true">
-      <filterset>
-        <filter token="FTP_HOSTNAME" value="${jbossesb.ftp.hostname}"/>
-        <filter token="FTP_USERNAME" value="${jbossesb.ftp.username}"/>
-        <filter token="FTP_PASSWORD" value="${jbossesb.ftp.password}"/>
-        <filter token="FTP_DIRECTORY" value="${jbossesb.ftp.directory}"/>
-
-        <filter token="STATICROUTER" value="${jbossesb.staticrouter.dir}"/>
-        <filter token="SERVICE01" value="${jbossesb.service1.input}"/>
-        <filter token="SERVICE01_POST" value="${jbossesb.service1.post}"/>
-        <filter token="SERVICE02" value="${jbossesb.service2.input}"/>
-        <filter token="SERVICE02_POST" value="${jbossesb.service2.post}"/>
-        <filter token="SERVICE03" value="${jbossesb.service3.input}"/>
-        <filter token="SERVICE03_POST" value="${jbossesb.service3.post}"/>
-      </filterset>
-    </copy>
-  	 <copy file="log4j.xml" tofile="build/log4j.xml"/>
-  </target>
-
-  <target name="jars" depends="compile, config">
-    <copy file="${build.dir}/${jbossesb.name}" tofile="${build.dir}/META-INF/${jbossesb.name}"/>
-	<delete file="${build.dir}/${ant.project.name}.jar"/>
-  	<delete file="${build.dir}/${ant.project.name}.esb"/>
-        <jar destfile="${build.dir}/${ant.project.name}.jar"
-		basedir="${build.dir}"
-		includes="**/*.class"/>
-    <jar destfile="${build.dir}/${ant.project.name}.esb"
-      basedir="${build.dir}"
-      includes="**/*.class,META-INF/${jbossesb.name}"/>
-  </target>
-
-  <target name="run" depends="jars, config">
-	     <echo>FTP Gateway file Listener and static router to file destination</echo>
-	     <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">  
-	     	<arg value="${jbossesb.config}"/>
-			<classpath refid="classpath"/>
-	     </java>     
-  </target>	
-
-  <target name="deploy" depends="jars, config">
-	    <echo>Deploys the project to the JBoss Application Server ESB SAR</echo>
-	  	<copy file="${build.dir}/${ant.project.name}.esb" overwrite="true"
-	  		todir="${jbosshome.dir}/server/default/deploy/"	
-	  	/>
-  </target>
-
-  <target name="runtest">
-     <echo>Runs Test FTP File creator</echo>
-     <java fork="yes" classname="quickstart.static_router.test.CreateTestFile" failonerror="true">
-        <arg value="${jbossesb.ftp.hostname}"/>
-        <arg value="${jbossesb.ftp.username}"/>
-        <arg value="${jbossesb.ftp.password}"/>
-        <arg value="${jbossesb.ftp.directory}/StaticRouter.dat"/>
-     	<arg value="Hello World In A File (for static router test)"/> <!--  File Contents -->
-		<classpath refid="classpath"/>
-     </java>
-  </target>  
-
 </project>

Added: labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb-unfiltered.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb-unfiltered.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,123 @@
+<?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" >
+
+    <providers>
+          <ftp-provider name="FTPprovider" hostname="@FTP_HOSTNAME@" >
+          	<ftp-bus busid="StaticRouterFtpGW" >
+          		<ftp-message-filter
+          			username="@FTP_USERNAME@"
+          			password="@FTP_PASSWORD@"
+          			passive="false"
+          			directory="@FTP_DIRECTORY@"
+          			input-suffix=".dat"
+          		/>
+          	</ftp-bus>
+          </ftp-provider>
+
+          <fs-provider name="LocalFsProvider">
+          	<fs-bus busid="staticRouter" >
+          		<fs-message-filter
+          			directory="@STATICROUTER@"
+          			input-suffix=".esbMessage"
+          		/>
+          	</fs-bus>
+          	<fs-bus busid="fileMessageDestination_01" >
+          		<fs-message-filter
+          			directory="@SERVICE01@"
+          			input-suffix=".toRoute01"
+          			post-delete="false"
+          			post-directory="@SERVICE01_POST@"
+          		/>
+          	</fs-bus>
+          	<fs-bus busid="fileMessageDestination_02" >
+          		<fs-message-filter
+          			directory="@SERVICE02@"
+          			input-suffix=".toRoute02"
+          			post-delete="false"
+          			post-directory="@SERVICE02_POST@"
+          		/>
+          	</fs-bus>
+          	<fs-bus busid="fileMessageDestination_03" >
+          		<fs-message-filter
+          			directory="@SERVICE03@"
+          			input-suffix=".toRoute03"
+          			post-delete="false"
+          			post-directory="@SERVICE03_POST@"
+          		/>
+          	</fs-bus>
+          </fs-provider>
+          
+      </providers>
+      
+      <services>
+          
+        <service 
+          		 category="StaticRouterCategoryEsb1"
+          		 name="fileListener"
+          		 description="Static router(listener)">
+            <listeners>
+                <ftp-listener name="Ftp-Gateway"
+                    busidref="StaticRouterFtpGW"
+                    maxThreads="1"
+                    is-gateway="true"
+                />
+                <fs-listener name="StaticRouter"
+                              busidref="staticRouter"
+                              maxThreads="1"
+                />                
+            </listeners>
+            <actions>
+               <action name="routeAction"  class="org.jboss.soa.esb.actions.StaticRouter">
+               		<property name="destinations">
+   	 				   <route-to service-category="category01" service-name="service01" /> 
+   	 				   <route-to service-category="category02" service-name="service02" /> 
+   	 				   <route-to service-category="category03" service-name="service03" /> 
+	    		   </property>
+   	   			</action>    
+            </actions>
+        </service>
+
+        <service 
+          		 category="category01"
+          		 name="service01"
+          		 description="Static route destination 1">
+            <listeners>
+                <fs-listener name="fileDest01" busidref="fileMessageDestination_01" maxThreads="1" />                
+            </listeners>
+            <actions>
+               <action name="doThis"  class="quickstart.static_router.SimpleFileAction">
+               		<property name="msgSuffix" value=".01FromRouter" />
+               </action>
+            </actions>
+        </service>
+
+        <service 
+          		 category="category02"
+          		 name="service02"
+          		 description="Static route destination 2">
+            <listeners>
+                <fs-listener name="fileDest02" busidref="fileMessageDestination_02" maxThreads="1" />                
+            </listeners>
+            <actions>
+               <action name="doThis"  class="quickstart.static_router.SimpleFileAction">
+               		<property name="msgSuffix" value=".02FromRouter" />
+               </action>
+            </actions>
+        </service>
+
+        <service 
+          		 category="category03"
+          		 name="service03"
+          		 description="Static route destination 3">
+            <listeners>
+                <fs-listener name="fileDest03" busidref="fileMessageDestination_03" maxThreads="1" />                
+            </listeners>
+            <actions>
+               <action name="doThis"  class="quickstart.static_router.SimpleFileAction">
+               		<property name="msgSuffix" value=".03FromRouter" />
+               </action>
+            </actions>
+        </service>
+      </services>
+     
+</jbossesb>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -2,13 +2,13 @@
 <jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" >
 
     <providers>
-          <ftp-provider name="FTPprovider" hostname="@FTP_HOSTNAME@" >
+          <ftp-provider name="FTPprovider" hostname="localhost" >
           	<ftp-bus busid="StaticRouterFtpGW" >
           		<ftp-message-filter
-          			username="@FTP_USERNAME@"
-          			password="@FTP_PASSWORD@"
+          			username="sifo"
+          			password="sifo"
           			passive="false"
-          			directory="@FTP_DIRECTORY@"
+          			directory="/home/sifo/input"
           			input-suffix=".dat"
           		/>
           	</ftp-bus>
@@ -17,32 +17,32 @@
           <fs-provider name="LocalFsProvider">
           	<fs-bus busid="staticRouter" >
           		<fs-message-filter
-          			directory="@STATICROUTER@"
+          			directory="/opt/jboss/esb/source/livetrunk/product/samples/quickstarts/static_router/build/dirs/staticrouter"
           			input-suffix=".esbMessage"
           		/>
           	</fs-bus>
           	<fs-bus busid="fileMessageDestination_01" >
           		<fs-message-filter
-          			directory="@SERVICE01@"
+          			directory="/opt/jboss/esb/source/livetrunk/product/samples/quickstarts/static_router/build/dirs/service01/input"
           			input-suffix=".toRoute01"
           			post-delete="false"
-          			post-directory="@SERVICE01_POST@"
+          			post-directory="/opt/jboss/esb/source/livetrunk/product/samples/quickstarts/static_router/build/dirs/service01/post"
           		/>
           	</fs-bus>
           	<fs-bus busid="fileMessageDestination_02" >
           		<fs-message-filter
-          			directory="@SERVICE02@"
+          			directory="/opt/jboss/esb/source/livetrunk/product/samples/quickstarts/static_router/build/dirs/service02/input"
           			input-suffix=".toRoute02"
           			post-delete="false"
-          			post-directory="@SERVICE02_POST@"
+          			post-directory="/opt/jboss/esb/source/livetrunk/product/samples/quickstarts/static_router/build/dirs/service02/post"
           		/>
           	</fs-bus>
           	<fs-bus busid="fileMessageDestination_03" >
           		<fs-message-filter
-          			directory="@SERVICE03@"
+          			directory="/opt/jboss/esb/source/livetrunk/product/samples/quickstarts/static_router/build/dirs/service03/input"
           			input-suffix=".toRoute03"
           			post-delete="false"
-          			post-directory="@SERVICE03_POST@"
+          			post-directory="/opt/jboss/esb/source/livetrunk/product/samples/quickstarts/static_router/build/dirs/service03/post"
           		/>
           	</fs-bus>
           </fs-provider>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/static_router/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/static_router/readme.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/static_router/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,10 +1,34 @@
-This test assumes:
+Overview:
+=========
+	This quick start will create a file on the FTP server and show the progress
+	of the message through a static route.  Intermediate files will be created
+	in the directories under build/dirs/
 
-1) That the quickstarts.properties file has been configured with the details
-   of the ftp server.
+Running this quickstart:
+========================
+	This test assumes:
+	1) That the quickstarts.properties file has been configured with the details
+	   of the ftp server.
+	2) That the configured ftp directory is writable.
 
-2) That the configured ftp directory is writable.
+    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 quick start will create a file on the FTP server and show the progress
-of the message through a static route.  Intermediate files will be created
-in the directories under build/dirs/
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-dests'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  Open another command terminal window in this folder ("Window2"), type 'ant runtest'.
+    4.  Switch back to "Window1" to see the output from the ESB
+
+To Run '.esb' archive mode:
+===========================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
+    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
+
+
+
+
+

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/README.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/README.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/README.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,60 +0,0 @@
-Overview:
-=========
-    This is the most advanved of the "transform" Quickstarts.  Be sure to go through the other
-    Quickstarts before going through this.
-    
-    This Quickstart is quite detailed.  There's an accompanying Flash demo that walks you through
-    all the steps that were involved in creating this Quickstart.  You should check this out before
-    or as you go through this quickstart:
-    	http://labs.jboss.com/portal/jbossesb/resources/tutorials/xformation-demos/console-demo-03.html
-    
-    Out of the box, this Quickstart does not use the JBoss ESB Administration Console to manage the
-    message Transformation configurations to the ESB.  However, as you'll hopefully have seen from the
-    Flash demo mentioned above, this Quickstart was created using the Admin Conosle.  In order to ship
-    with the ESB distribution, the transformations configurations were exported from the console and
-    into the "smooks-res.xml" file here in this Quickstart.  See the end of this README for details on how
-    to re-import and manage this Quickstart's transformations via the Console.
-
-
-Before Running:
-===============
-    1. Update the "org.jboss.esb.appserver.home" property in the quickstarts.properties file in "../".
-    2. Make sure to run the the ant script in the "install" folder of the distribution.  This
-       deploys the required SARs to your JBoss Application Server instance.
-    3. Make sure the JBoss Application server is running.
-    4. It would be a great idea to read MessageTransformation.pdf to fully understand this
-       Quickstart.  It is located in the docs/services folder.
-
-
-To Run:
-=======
-    1. In a command terminal window in this folder ("Window1"), type "ant run".
-    2. Open another command terminal window in this folder ("Window2"), type "ant runtest".
-    3. Switch back to "Window1" to see the message transformation before and after.
-    
-    Note that, as with all these Quickstarts, you can deply and run them through your local
-    JBoss Application Server instance.  To do this, skip step 1 above and in it's place 
-    execute the following Ant task:
-        "ant deployToSAR"
-    This will packagce up this Quickstart and deploy it to your JBoss AS instance.  The Quickstart
-    "Service" will automatically start then.  At that point, continue with steps 2 and 3.
-
-
-What to look at in this Quickstart:
-===================================
-    The Flash demo at:
-    	http://labs.jboss.com/portal/jbossesb/resources/tutorials/xformation-demos/console-demo-03.html
-
-
-Playing with this Transformation through the Administration Console:
-====================================================================
-    To load the Transformation Configurations defined in smooks-res.xml into the Admin Console, and have them
-    managed from the Admin Console, do the following:
-    
-    1. Deploy the console as outlined in MessageTransformation.pdf.
-    2. Edit the smooks-cdr.lst file in this folder, commenting out both the classpath based listings and
-       uncommenting out the listing for the console HTTP URI.  The same set of steps were executed at the 
-       start of the Flash demo.
-    3. In the console, import "smooks-res.xml" through the "Import Configurations" form.
-    4. You are now ready to start managing the message transformations through the console.  You can add more
-       transformations and modify the existing transformations.  Be sure to read MessageTransformation.pdf!!!
\ No newline at end of file

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/base-build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/base-build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,81 +0,0 @@
-<project name="Base" basedir=".">
-
-	<property file="../quickstarts.properties" />
-
-    <property name="additional.deploys" value="" />
-
-    <property name="classes" value="build/classes" />
-
-	<path id="compile-classpath">
-		<fileset dir="lib" includes="*.jar" /> <!-- Quickstart Specific Jars. -->
-		<fileset dir="../../../lib/ext" includes="*.jar" /> <!-- Product Dependencies. -->
-		<fileset dir="${esb.product.lib.dir}" includes="*.jar" /> <!-- Product Jars. -->
-	</path>
-	<path id="exec-classpath">
-		<pathelement location="." />
-        <pathelement location="src" />
-		<pathelement location="build/classes" />
-		<path refid="compile-classpath" />
-		<fileset dir="${jbosshome.dir}/server/default/lib" includes="jboss-j2ee.jar" /> <!-- Required for JMS Client Code. -->
-	</path>
-
-	<target name="compile" depends="clean">
-		<mkdir dir="${classes}" />
-		<javac srcdir="src" destdir="${classes}">
-			<classpath refid="compile-classpath" />
-		</javac>
-	</target>
-
-	<target name="run" depends="compile">
-		<echo>Launching Quickstart in standalone mode...</echo>
-		<java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
-			<arg value="./jbossesb.xml" />
-			<classpath refid="exec-classpath" />
-		</java>
-	</target>
-
-    <target name="deployToSAR">
-        <echo message='******************' />
-        <echo message='DEPRECATED!!  Sorry, this target has been deprecated for Quickstart Deployment.' />
-        <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}' />
-        <echo message='******************' />
-        <fail />
-    </target>
-
-    <target name="deploy" depends="compile">
-		<echo>Deploying Quickstart to JBoss ESB Server...</echo>
-
-        <mkdir dir="build/META-INF" />
-        <copy todir="build/META-INF">
-            <fileset dir="./" includes="jboss-esb.xml,deployment.xml" />
-        </copy>
-
-        <jar destfile="build/${ant.project.name}.esb">
-           <fileset dir="build/classes" />
-           <fileset dir="src" excludes="**/*.java" />
-           <fileset dir="build" includes="META-INF/**" />
-           <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
-           <fileset dir="./" includes="${additional.deploys}" />
-        </jar>
-
-        <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/" />
-
-        <echo message='${line.separator}******************' />
-        <echo>Quickstart deployed to target JBoss ESB Server at '${jbosshome.dir}'.</echo>
-        <echo>1.  Check your ESB Server console to make sure the deployment was executed without errors.</echo>
-        <echo>2.  Run 'ant runtest' to run the Quickstart.</echo>
-        <echo>3.  Check your ESB Server console again.  The Quickstart should have produced some output.</echo>
-        <echo message='******************' />
-
-    </target>
-
-	<target name="echoCP">
-		<property name="cp" refid="exec-classpath" />
-		<echo message="Classpath is ${cp}" />
-	</target>
-
-	<target name="clean">
-		<delete dir="build" />
-	</target>
-
-</project>
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,14 +1,19 @@
 <project name="transformation-edi2xml_groovy-quickstart" default="deploy" basedir=".">
 	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+			
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
+	
 	<property name="additional.deploys" value="smooks-cdr.lst,smooks-res.xml" />
 	
-	<!-- Import the base Ant build script... -->
-	<import file="base-build.xml"/>
-
 	<!-- The ESB itself is started by the default "run" target - defined in base-build.xml  -->
 	
 	<!-- Target for injecting the sample order message for transformation... -->
-	<target name="runtest">
+	<target name="runtest" description="runs Test JMS Sender">
 		<echo>Runs Test JMS Sender</echo>
 		<java fork="yes" classname="quickstart.helloworld.test.SendJMSMessage" failonerror="true">
 			<arg value="SampleOrder.edi" />
@@ -16,4 +21,4 @@
 		</java>
 	</target>
 
-</project>
\ No newline at end of file
+</project>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/jbm-queue-service.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/jbm-queue-service.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -10,4 +10,5 @@
            xmbean-dd="xmdesc/Queue-xmbean.xml">
         <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
     </mbean>
-</server>
\ No newline at end of file
+</server>
+

Added: labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/readme.txt	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,60 @@
+Overview:
+=========
+    This is the most advanved of the "transform" Quickstarts.  Be sure to go through the other
+    Quickstarts before going through this.
+    
+    This Quickstart is quite detailed.  There's an accompanying Flash demo that walks you through
+    all the steps that were involved in creating this Quickstart.  You should check this out before
+    or as you go through this quickstart:
+    	http://labs.jboss.com/portal/jbossesb/resources/tutorials/xformation-demos/console-demo-03.html
+    
+    Out of the box, this Quickstart does not use the JBoss ESB Administration Console to manage the
+    message Transformation configurations to the ESB.  However, as you'll hopefully have seen from the
+    Flash demo mentioned above, this Quickstart was created using the Admin Conosle.  In order to ship
+    with the ESB distribution, the transformations configurations were exported from the console and
+    into the "smooks-res.xml" file here in this Quickstart.  See the end of this README for details on how
+    to re-import and manage this Quickstart's transformations via the Console.
+
+
+Before Running:
+===============
+    1. Update the "org.jboss.esb.appserver.home" property in the quickstarts.properties file in "../".
+    2. Make sure to run the the ant script in the "install" folder of the distribution.  This
+       deploys the required SARs to your JBoss Application Server instance.
+    3. Make sure the JBoss Application server is running.
+    4. It would be a great idea to read MessageTransformation.pdf to fully understand this
+       Quickstart.  It is located in the docs/services folder.
+
+
+To Run:
+=======
+    1. In a command terminal window in this folder ("Window1"), type "ant run".
+    2. Open another command terminal window in this folder ("Window2"), type "ant runtest".
+    3. Switch back to "Window1" to see the message transformation before and after.
+    
+    Note that, as with all these Quickstarts, you can deply and run them through your local
+    JBoss Application Server instance.  To do this, skip step 1 above and in it's place 
+    execute the following Ant task:
+        "ant deployToSAR"
+    This will packagce up this Quickstart and deploy it to your JBoss AS instance.  The Quickstart
+    "Service" will automatically start then.  At that point, continue with steps 2 and 3.
+
+
+What to look at in this Quickstart:
+===================================
+    The Flash demo at:
+    	http://labs.jboss.com/portal/jbossesb/resources/tutorials/xformation-demos/console-demo-03.html
+
+
+Playing with this Transformation through the Administration Console:
+====================================================================
+    To load the Transformation Configurations defined in smooks-res.xml into the Admin Console, and have them
+    managed from the Admin Console, do the following:
+    
+    1. Deploy the console as outlined in MessageTransformation.pdf.
+    2. Edit the smooks-cdr.lst file in this folder, commenting out both the classpath based listings and
+       uncommenting out the listing for the console HTTP URI.  The same set of steps were executed at the 
+       start of the Flash demo.
+    3. In the console, import "smooks-res.xml" through the "Import Configurations" form.
+    4. You are now ready to start managing the message transformations through the console.  You can add more
+       transformations and modify the existing transformations.  Be sure to read MessageTransformation.pdf!!!
\ No newline at end of file

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/base-build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/base-build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,81 +0,0 @@
-<project name="Base" basedir=".">
-
-	<property file="../quickstarts.properties" />
-
-    <property name="additional.deploys" value="" />
-
-    <property name="classes" value="build/classes" />
-
-	<path id="compile-classpath">
-		<fileset dir="lib" includes="*.jar" /> <!-- Quickstart Specific Jars. -->
-		<fileset dir="../../../lib/ext" includes="*.jar" /> <!-- Product Dependencies. -->
-		<fileset dir="${esb.product.lib.dir}" includes="*.jar" /> <!-- Product Jars. -->
-	</path>
-	<path id="exec-classpath">
-		<pathelement location="." />
-        <pathelement location="src" />
-		<pathelement location="build/classes" />
-		<path refid="compile-classpath" />
-		<fileset dir="${jbosshome.dir}/server/default/lib" includes="jboss-j2ee.jar" /> <!-- Required for JMS Client Code. -->
-	</path>
-
-	<target name="compile" depends="clean">
-		<mkdir dir="${classes}" />
-		<javac srcdir="src" destdir="${classes}">
-			<classpath refid="compile-classpath" />
-		</javac>
-	</target>
-
-	<target name="run" depends="compile">
-		<echo>Launching Quickstart in standalone mode...</echo>
-		<java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
-			<arg value="./jbossesb.xml" />
-			<classpath refid="exec-classpath" />
-		</java>
-	</target>
-
-    <target name="deployToSAR">
-        <echo message='******************' />
-        <echo message='DEPRECATED!!  Sorry, this target has been deprecated for Quickstart Deployment.' />
-        <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}' />
-        <echo message='******************' />
-        <fail />
-    </target>
-
-    <target name="deploy" depends="compile">
-		<echo>Deploying Quickstart to JBoss ESB Server...</echo>
-
-        <mkdir dir="build/META-INF" />
-        <copy todir="build/META-INF">
-            <fileset dir="./" includes="jboss-esb.xml,deployment.xml" />
-        </copy>
-
-        <jar destfile="build/${ant.project.name}.esb">
-           <fileset dir="build/classes" />
-           <fileset dir="src" excludes="**/*.java" />
-           <fileset dir="build" includes="META-INF/**" />
-           <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
-           <fileset dir="./" includes="${additional.deploys}" />
-        </jar>
-
-        <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/" />
-
-        <echo message='${line.separator}******************' />
-        <echo>Quickstart deployed to target JBoss ESB Server at '${jbosshome.dir}'.</echo>
-        <echo>1.  Check your ESB Server console to make sure the deployment was executed without errors.</echo>
-        <echo>2.  Run 'ant runtest' to run the Quickstart.</echo>
-        <echo>3.  Check your ESB Server console again.  The Quickstart should have produced some output.</echo>
-        <echo message='******************' />
-
-    </target>
-
-	<target name="echoCP">
-		<property name="cp" refid="exec-classpath" />
-		<echo message="Classpath is ${cp}" />
-	</target>
-
-	<target name="clean">
-		<delete dir="build" />
-	</target>
-
-</project>
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,26 +1,31 @@
 <project name="transformation-pojo-quickstart" default="deploy" basedir=".">
 	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+			
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
+	
 	<!-- Additional files to be deployed in the sar. -->
 	<property name="additional.deploys" value="smooks-cdr.lst,smooks-res.xml" />
 
-	<!-- Import the base Ant build script... -->
-	<import file="base-build.xml"/>
-
 	<!-- The ESB itself is started by the default "run" target - defined in base-build.xml  -->
 	
 	<!-- Target for injecting the sample order message for transformation... -->
-	<target name="runtest">
+	<target name="runtest" depends="compile" description="runs test JMS Sender">
 		<echo>Runs Test JMS Sender</echo>
 		<java fork="yes" classname="quickstart.test.SendJMSMessage" failonerror="true">
 			<classpath refid="exec-classpath"/>
 		</java>
 	</target>  
 	
-	<target name="receive">
+	<target name="receive" depends="compile" description="runs Test JMS Receiver">
 		<echo>Runs Test JMS Receiver</echo>
 		<java fork="yes" classname="quickstart.test.ReceiveJMSMessage" failonerror="true">
 			<classpath refid="exec-classpath"/>
 		</java>
 	</target>  
 
-</project>
\ No newline at end of file
+</project>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/jbm-queue-service.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/jbm-queue-service.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -4,10 +4,19 @@
            name="jboss.messaging.destination:service=Queue,name=quickstart_transform_pojo_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.messaging.destination:service=Queue,name=quickstart_transform_pojo_esb"
            xmbean-dd="xmdesc/Queue-xmbean.xml">
         <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+		<depends>jboss.messaging:service=PostOffice</depends>
     </mbean>
-</server>
\ No newline at end of file
+    <mbean code="org.jboss.jms.server.destination.QueueService"
+           name="jboss.messaging.destination:service=Queue,name=quickstart_simple_transformation_Response"
+           xmbean-dd="xmdesc/Queue-xmbean.xml">
+        <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+		<depends>jboss.messaging:service=PostOffice</depends>
+    </mbean>
+ 
+</server>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/base-build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/base-build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,81 +0,0 @@
-<project name="Base" basedir=".">
-
-	<property file="../quickstarts.properties" />
-
-    <property name="additional.deploys" value="" />
-
-    <property name="classes" value="build/classes" />
-
-	<path id="compile-classpath">
-		<fileset dir="lib" includes="*.jar" /> <!-- Quickstart Specific Jars. -->
-		<fileset dir="../../../lib/ext" includes="*.jar" /> <!-- Product Dependencies. -->
-		<fileset dir="${esb.product.lib.dir}" includes="*.jar" /> <!-- Product Jars. -->
-	</path>
-	<path id="exec-classpath">
-		<pathelement location="." />
-        <pathelement location="src" />
-		<pathelement location="build/classes" />
-		<path refid="compile-classpath" />
-		<fileset dir="${jbosshome.dir}/server/default/lib" includes="jboss-j2ee.jar" /> <!-- Required for JMS Client Code. -->
-	</path>
-
-	<target name="compile" depends="clean">
-		<mkdir dir="${classes}" />
-		<javac srcdir="src" destdir="${classes}">
-			<classpath refid="compile-classpath" />
-		</javac>
-	</target>
-
-	<target name="run" depends="compile">
-		<echo>Launching Quickstart in standalone mode...</echo>
-		<java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
-			<arg value="./jbossesb.xml" />
-			<classpath refid="exec-classpath" />
-		</java>
-	</target>
-
-    <target name="deployToSAR">
-        <echo message='******************' />
-        <echo message='DEPRECATED!!  Sorry, this target has been deprecated for Quickstart Deployment.' />
-        <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}' />
-        <echo message='******************' />
-        <fail />
-    </target>
-
-    <target name="deploy" depends="compile">
-		<echo>Deploying Quickstart to JBoss ESB Server...</echo>
-
-        <mkdir dir="build/META-INF" />
-        <copy todir="build/META-INF">
-            <fileset dir="./" includes="jboss-esb.xml,deployment.xml" />
-        </copy>
-
-        <jar destfile="build/${ant.project.name}.esb">
-           <fileset dir="build/classes" />
-           <fileset dir="src" excludes="**/*.java" />
-           <fileset dir="build" includes="META-INF/**" />
-           <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
-           <fileset dir="./" includes="${additional.deploys}" />
-        </jar>
-
-        <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/" />
-
-        <echo message='${line.separator}******************' />
-        <echo>Quickstart deployed to target JBoss ESB Server at '${jbosshome.dir}'.</echo>
-        <echo>1.  Check your ESB Server console to make sure the deployment was executed without errors.</echo>
-        <echo>2.  Run 'ant runtest' to run the Quickstart.</echo>
-        <echo>3.  Check your ESB Server console again.  The Quickstart should have produced some output.</echo>
-        <echo message='******************' />
-
-    </target>
-
-	<target name="echoCP">
-		<property name="cp" refid="exec-classpath" />
-		<echo message="Classpath is ${cp}" />
-	</target>
-
-	<target name="clean">
-		<delete dir="build" />
-	</target>
-
-</project>
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,14 +1,20 @@
 <project name="transformation-date-manipulation-quickstart" default="deploy" basedir=".">
 	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+			
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
+	
 	<property name="additional.deploys" value="smooks-cdr.lst,smooks-res.xml" />
 
-	<!-- Import the base Ant build script... -->
-	<import file="base-build.xml"/>
-
 	<!-- The ESB itself is started by the default "run" target - defined in base-build.xml  -->
 	
 	<!-- Target for injecting the sample order message for transformation... -->
-	<target name="runtest" depends="compile">
+	<target name="runtest" depends="compile"
+		description="runs Test JMS Sender">
 		<echo>Runs Test JMS Sender</echo>
 		<java fork="yes" classname="quickstart.helloworld.test.SendJMSMessage" failonerror="true">
 			<arg value="SampleOrder.xml" />

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/README.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/README.txt	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/README.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,74 +0,0 @@
-Overview:
-=========
-    This is a very basic example of how to manually define and apply a Message Transformation
-    within JBoss ESB 4.0GA.  It applies a very simple XSLT to a SampleOrder.xml message and prints the
-    before and after XML to the console.
-    
-    This Quickstart does not use the JBoss ESB Administration Console to manage the
-    message Transformation configurations to the ESB.  See the end of this README for details on how
-    to manage this Quickstart's transformations via the Console.
-    
-    Check out the Administration Console Flash demos at:
-    	http://labs.jboss.com/portal/jbossesb/resources/tutorials/xformation-demos/console-demos.html
-
-
-Before Running:
-===============
-    1. Update the "org.jboss.esb.appserver.home" property in the quickstarts.properties file in "../".
-    2. Make sure to run the the ant script in the "install" folder of the distribution.  This
-       deploys the required SARs to your JBoss Application Server instance.
-    3. Make sure the JBoss Application server is running.
-    4. It would be a great idea to read MessageTransformation.pdf to fully understand this
-       Quickstart.  It is located in the docs/services folder.
-
-
-To Run:
-=======
-    1. In a command terminal window in this folder ("Window1"), type "ant run".
-    2. Open another command terminal window in this folder ("Window2"), type "ant runtest".
-    3. Switch back to "Window1" to see the message transformation before and after.
-    
-    Note that, as with all these Quickstarts, you can deply and run them through your local
-    JBoss Application Server instance.  To do this, skip step 1 above and in it's place 
-    execute the following Ant task:
-        "ant deployToSAR"
-    This will packagce up this Quickstart and deploy it to your JBoss AS instance.  The Quickstart
-    "Service" will automatically start then.  At that point, continue with steps 2 and 3.
-
-
-What to look at in this Quickstart:
-===================================
-    As stated above, a read of MessageTransformation.pdf would be of great benefit in understanding
-    JBoss ESB Transformations.
-
-    jbossesb.xml:    The ESB configuration file in this Quickstart simply defines a JMS Listener for receiving
-                     the contents of the SampleOrder.xml file located in this folder (line 31).  The listener
-                     configuration then executes the "SmooksTransformer" action for the Message Exchange between
-                     "A" and "B".
-                    
-    smooks-cdr.lst:  This file is used by the JBoss ESB Transformation Service to list the Transformation
-                     resource configuration URIs.  Out of the box, the smoooks-cdr.lst file in this Quickstart
-                     refers to 2 resource URIs, both of which are classpath based.  It also has a commented
-                     out listing for accessing Transformation Configurations managed by the JBoss ESB
-                     Administration Conosle (see below).
-                    
-    smooks-res.xml:  This file defines the Transformations for the Quickstart.  In this case, it simply defines
-                     a single XSL transformation for the order line items.
-
-
-Playing with this Transformation through the Administration Console:
-====================================================================
-    To load the Transformation Configurations defined in smooks-res.xml into the Admin Console, and have them
-    managed from the Admin Console, do the following:
-    
-    1. Deploy the console as outlined in MessageTransformation.pdf.
-    2. Edit the smooks-cdr.lst file in this folder, commenting out both the classpath based listings and
-       uncommenting out the listing for the console HTTP URI.
-    3. In the console:
-        a)  Add "Message Exchange Participants" for "A" and "B" through the "Manage Message Exchange Participants" form.
-        b)  Add new "Message Contract" against "A" and "B" for "text/xml:messageAtA" and "text/xml:messageAtB" respectively.
-            Note: "messageAtA" and "messageAtB" are the Message Namespace values and "text/xml" is the Message Mime in
-            both cases.
-        c)  Import "smooks-res.xml" through the "Import Configurations" form.
-    4. You are now ready to start managing the message transformations through the console.  You can add more
-       transformations and modify the existing transformations.  Be sure to read MessageTransformation.pdf!!!
\ No newline at end of file

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/base-build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/base-build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,81 +0,0 @@
-<project name="Base" basedir=".">
-
-	<property file="../quickstarts.properties" />
-
-    <property name="additional.deploys" value="" />
-
-    <property name="classes" value="build/classes" />
-
-	<path id="compile-classpath">
-		<fileset dir="lib" includes="*.jar" /> <!-- Quickstart Specific Jars. -->
-		<fileset dir="../../../lib/ext" includes="*.jar" /> <!-- Product Dependencies. -->
-		<fileset dir="${esb.product.lib.dir}" includes="*.jar" /> <!-- Product Jars. -->
-	</path>
-	<path id="exec-classpath">
-		<pathelement location="." />
-        <pathelement location="src" />
-		<pathelement location="build/classes" />
-		<path refid="compile-classpath" />
-		<fileset dir="${jbosshome.dir}/server/default/lib" includes="jboss-j2ee.jar" /> <!-- Required for JMS Client Code. -->
-	</path>
-
-	<target name="compile" depends="clean">
-		<mkdir dir="${classes}" />
-		<javac srcdir="src" destdir="${classes}">
-			<classpath refid="compile-classpath" />
-		</javac>
-	</target>
-
-	<target name="run" depends="compile">
-		<echo>Launching Quickstart in standalone mode...</echo>
-		<java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
-			<arg value="./jbossesb.xml" />
-			<classpath refid="exec-classpath" />
-		</java>
-	</target>
-
-    <target name="deployToSAR">
-        <echo message='******************' />
-        <echo message='DEPRECATED!!  Sorry, this target has been deprecated for Quickstart Deployment.' />
-        <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}' />
-        <echo message='******************' />
-        <fail />
-    </target>
-
-    <target name="deploy" depends="compile">
-		<echo>Deploying Quickstart to JBoss ESB Server...</echo>
-
-        <mkdir dir="build/META-INF" />
-        <copy todir="build/META-INF">
-            <fileset dir="./" includes="jboss-esb.xml,deployment.xml" />
-        </copy>
-
-        <jar destfile="build/${ant.project.name}.esb">
-           <fileset dir="build/classes" />
-           <fileset dir="src" excludes="**/*.java" />
-           <fileset dir="build" includes="META-INF/**" />
-           <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
-           <fileset dir="./" includes="${additional.deploys}" />
-        </jar>
-
-        <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/" />
-
-        <echo message='${line.separator}******************' />
-        <echo>Quickstart deployed to target JBoss ESB Server at '${jbosshome.dir}'.</echo>
-        <echo>1.  Check your ESB Server console to make sure the deployment was executed without errors.</echo>
-        <echo>2.  Run 'ant runtest' to run the Quickstart.</echo>
-        <echo>3.  Check your ESB Server console again.  The Quickstart should have produced some output.</echo>
-        <echo message='******************' />
-
-    </target>
-
-	<target name="echoCP">
-		<property name="cp" refid="exec-classpath" />
-		<echo message="Classpath is ${cp}" />
-	</target>
-
-	<target name="clean">
-		<delete dir="build" />
-	</target>
-
-</project>
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,14 +1,19 @@
 <project name="transformation-simple-quickstart" default="deploy" basedir=".">
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+			
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
 	
 	<property name="additional.deploys" value="smooks-cdr.lst,smooks-res.xml" />
 	
-	<!-- Import the base Ant build script... -->
-	<import file="base-build.xml"/>
-
 	<!-- The ESB itself is started by the default "run" target - defined in base-build.xml  -->
 	
 	<!-- Target for injecting the sample order message for transformation... -->
-	<target name="runtest" depends="compile">
+	<target name="runtest" depends="compile" 
+		description="runs Test JMS Sender">
 		<echo>Runs Test JMS Sender</echo>
 		<java fork="yes" classname="quickstart.helloworld.test.SendJMSMessage" failonerror="true">
 			<arg value="SampleOrder.xml" />
@@ -16,4 +21,4 @@
 		</java>
 	</target>
 
-</project>
\ No newline at end of file
+</project>

Added: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/readme.txt	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/readme.txt	2007-04-23 15:13:04 UTC (rev 11233)
@@ -0,0 +1,74 @@
+Overview:
+=========
+    This is a very basic example of how to manually define and apply a Message Transformation
+    within JBoss ESB 4.0GA.  It applies a very simple XSLT to a SampleOrder.xml message and prints the
+    before and after XML to the console.
+    
+    This Quickstart does not use the JBoss ESB Administration Console to manage the
+    message Transformation configurations to the ESB.  See the end of this README for details on how
+    to manage this Quickstart's transformations via the Console.
+    
+    Check out the Administration Console Flash demos at:
+    	http://labs.jboss.com/portal/jbossesb/resources/tutorials/xformation-demos/console-demos.html
+
+
+Before Running:
+===============
+    1. Update the "org.jboss.esb.appserver.home" property in the quickstarts.properties file in "../".
+    2. Make sure to run the the ant script in the "install" folder of the distribution.  This
+       deploys the required SARs to your JBoss Application Server instance.
+    3. Make sure the JBoss Application server is running.
+    4. It would be a great idea to read MessageTransformation.pdf to fully understand this
+       Quickstart.  It is located in the docs/services folder.
+
+
+To Run:
+=======
+    1. In a command terminal window in this folder ("Window1"), type "ant run".
+    2. Open another command terminal window in this folder ("Window2"), type "ant runtest".
+    3. Switch back to "Window1" to see the message transformation before and after.
+    
+    Note that, as with all these Quickstarts, you can deply and run them through your local
+    JBoss Application Server instance.  To do this, skip step 1 above and in it's place 
+    execute the following Ant task:
+        "ant deployToSAR"
+    This will packagce up this Quickstart and deploy it to your JBoss AS instance.  The Quickstart
+    "Service" will automatically start then.  At that point, continue with steps 2 and 3.
+
+
+What to look at in this Quickstart:
+===================================
+    As stated above, a read of MessageTransformation.pdf would be of great benefit in understanding
+    JBoss ESB Transformations.
+
+    jbossesb.xml:    The ESB configuration file in this Quickstart simply defines a JMS Listener for receiving
+                     the contents of the SampleOrder.xml file located in this folder (line 31).  The listener
+                     configuration then executes the "SmooksTransformer" action for the Message Exchange between
+                     "A" and "B".
+                    
+    smooks-cdr.lst:  This file is used by the JBoss ESB Transformation Service to list the Transformation
+                     resource configuration URIs.  Out of the box, the smoooks-cdr.lst file in this Quickstart
+                     refers to 2 resource URIs, both of which are classpath based.  It also has a commented
+                     out listing for accessing Transformation Configurations managed by the JBoss ESB
+                     Administration Conosle (see below).
+                    
+    smooks-res.xml:  This file defines the Transformations for the Quickstart.  In this case, it simply defines
+                     a single XSL transformation for the order line items.
+
+
+Playing with this Transformation through the Administration Console:
+====================================================================
+    To load the Transformation Configurations defined in smooks-res.xml into the Admin Console, and have them
+    managed from the Admin Console, do the following:
+    
+    1. Deploy the console as outlined in MessageTransformation.pdf.
+    2. Edit the smooks-cdr.lst file in this folder, commenting out both the classpath based listings and
+       uncommenting out the listing for the console HTTP URI.
+    3. In the console:
+        a)  Add "Message Exchange Participants" for "A" and "B" through the "Manage Message Exchange Participants" form.
+        b)  Add new "Message Contract" against "A" and "B" for "text/xml:messageAtA" and "text/xml:messageAtB" respectively.
+            Note: "messageAtA" and "messageAtB" are the Message Namespace values and "text/xml" is the Message Mime in
+            both cases.
+        c)  Import "smooks-res.xml" through the "Import Configurations" form.
+    4. You are now ready to start managing the message transformations through the console.  You can add more
+       transformations and modify the existing transformations.  Be sure to read MessageTransformation.pdf!!!
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,14 +1,19 @@
 <project name="Quickstart_webservice_jbossws_adapter_01" default="deploy" basedir=".">
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+			
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
 
     <property name="additional.deploys" value="jbmq-service.xml"/>
 
-    <!-- Import the base Ant build script... -->
-    <import file="../base-build.xml"/>
-
     <path id="quickstart-dependencies-classpath">
-        <fileset dir="${jbosshome.dir}/client" includes="jbossws-client.jar,jboss-remoting.jar" />
+        <fileset dir="${org.jboss.esb.server.home}/client" includes="jbossws-client.jar,jboss-remoting.jar" />
     </path>
-
+	
     <target name="quickstart-specific-assemblies" depends="assert-ws-available">
         <!-- Overriden from the target of the same name in base-build.xml. -->
         <!-- Called by the "deploy" target.  Don't call directly!! -->
@@ -22,7 +27,7 @@
         </war>
     </target>
 
-    <target name="runtest">
+    <target name="runtest" depends="compile" description="run tests over jms, http, and socket">
         <antcall target="saygoodbye_over_jms" />
         <antcall target="saygoodbye_over_http" />
         <antcall target="saygoodbye_over_socket" />
@@ -54,4 +59,4 @@
         </java>
     </target>
 
-</project>
\ No newline at end of file
+</project>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/base-build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/base-build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,94 +0,0 @@
-<project name="Base" basedir=".">
-
-	<property file="../quickstarts.properties" />
-
-    <property name="additional.deploys" value="" />
-
-    <property name="classes" value="build/classes" />
-
-	<path id="compile-classpath">
-		<fileset dir="lib" includes="*.jar" /> <!-- Quickstart Specific Jars. -->
-		<fileset dir="../../../lib/ext" includes="*.jar" /> <!-- Product Dependencies. -->
-		<fileset dir="${esb.product.lib.dir}" includes="*.jar" /> <!-- Product Jars. -->
-	</path>
-	<path id="exec-classpath">
-		<pathelement location="." />
-        <pathelement location="src" />
-		<pathelement location="build/classes" />
-		<path refid="compile-classpath" />
-		<fileset dir="${jbosshome.dir}/server/default/lib" includes="jboss-j2ee.jar" /> <!-- Required for JMS Client Code. -->
-	</path>
-
-	<target name="compile" depends="clean">
-		<mkdir dir="${classes}" />
-		<javac srcdir="src" destdir="${classes}">
-			<classpath refid="compile-classpath" />
-		</javac>
-	</target>
-
-	<target name="run" depends="compile">
-		<echo>Launching Quickstart in standalone mode...</echo>
-		<java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
-			<arg value="./jbossesb.xml" />
-			<classpath refid="exec-classpath" />
-		</java>
-	</target>
-
-    <target name="deployToSAR">
-        <echo message='******************' />
-        <echo message='DEPRECATED!!  Sorry, this target has been deprecated for Quickstart Deployment.' />
-        <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}' />
-        <echo message='******************' />
-        <fail />
-    </target>
-
-    <target name="deploy" depends="compile">
-		<echo>Deploying Quickstart to JBoss ESB Server...</echo>
-
-        <mkdir dir="build/META-INF" />
-        <copy todir="build/META-INF">
-            <fileset dir="./" includes="jboss-esb.xml,deployment.xml" />
-        </copy>
-
-        <jar destfile="build/${ant.project.name}.esb">
-           <fileset dir="build/classes" />
-           <fileset dir="src" excludes="**/*.java" />
-           <fileset dir="build" includes="META-INF/**" />
-           <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
-           <fileset dir="./" includes="${additional.deploys}" />
-        </jar>
-
-        <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/" />
-
-        <antcall target="quickstart-specific-deploys" />
-
-        <echo message='${line.separator}******************' />
-        <echo>Quickstart deployed to target JBoss ESB Server at '${jbosshome.dir}'.</echo>
-        <echo>1.  Check your ESB Server console to make sure the deployment was executed without errors.</echo>
-        <echo>2.  Run 'ant runtest' to run the Quickstart.</echo>
-        <echo>3.  Check your ESB Server console again.  The Quickstart should have produced some output.</echo>
-        <echo message='******************' />
-
-    </target>
-
-    <target name="quickstart-specific-deploys">
-        <!-- Override this target in the Quickstart in order to make Quickstart specific deployments. -->
-        <echo message="No Quickstart specific deployments being made." />
-    </target>
-
-    <target name="assert-ws-available">
-        <available property="ws-available" file="${jbosshome.dir}/server/default/deploy/jbossws.sar" type="dir" />
-        <fail unless="ws-available">**** DEPLOYMENT FAILED... Sorry, this Quickstart requires a JBoss Webservice container.  '${jbosshome.dir}' does not have a Webservice container.  Check the 'jbosshome.dir' property in ../quickstarts.properties"</fail>
-        <echo message="JBoss Webservice container found on target '${jbosshome.dir}'." />
-    </target>
-    
-    <target name="echoCP">
-		<property name="cp" refid="exec-classpath" />
-		<echo message="Classpath is ${cp}" />
-	</target>
-
-	<target name="clean">
-		<delete dir="build" />
-	</target>
-
-</project>
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/build.xml	2007-04-23 15:11:51 UTC (rev 11232)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/build.xml	2007-04-23 15:13:04 UTC (rev 11233)
@@ -1,10 +1,15 @@
 <project name="Quickstart_webservice_war1" default="deploy" basedir=".">
+	
+	<description> 
+		${ant.project.name}
+		${line.separator}
+	</description>
+			
+	<!-- Import the base Ant build script... -->
+	<import file="../conf/base-build.xml"/>
 
     <property name="additional.deploys" value="jbmq-service.xml"/>
 
-    <!-- Import the base Ant build script... -->
-    <import file="base-build.xml"/>
-
     <target name="quickstart-specific-deploys" depends="assert-ws-available">
         <!-- Overriden from the target of the same name in base-build.xml. -->
         <!-- Called by the "deploy" target.  Don't call directly!! -->
@@ -14,7 +19,7 @@
         <copy file="build/${ant.project.name}.war" overwrite="true" todir="${jbosshome.dir}/server/default/deploy"/>
     </target>
 
-    <target name="makewar">
+    <target name="makewar" description="make war">
         <!-- Compile... -->
         <mkdir dir="war/classes" />
         <javac srcdir="war/src" destdir="war/classes">
@@ -49,4 +54,4 @@
         </war>
     </target>
 
-</project>
\ No newline at end of file
+</project>




More information about the jboss-svn-commits mailing list