[jboss-svn-commits] JBL Code SVN: r11466 - in labs/jbossesb/trunk/product/samples/quickstarts: more_action/src and 110 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sun Apr 29 14:48:10 EDT 2007


Author: sebcao
Date: 2007-04-29 14:48:09 -0400 (Sun, 29 Apr 2007)
New Revision: 11466

Added:
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/CustomConfigAction.java
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/MyJMSListenerAction.java
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/StatefulAction.java
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/test/
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/test/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/src/org/
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/src/org/jboss/
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/src/org/jboss/soa/
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/src/org/jboss/soa/esb/samples/quickstart/scriptinggroovy/
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/MyJMSListenerAction.java
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/ReturnJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/RouteExpressShipping.java
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/RouteNormalShipping.java
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/ReceiveJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/SimpleFileAction.java
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/test/
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/test/CreateTestFile.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/esb/samples/quickstart/transformcsv2xml/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/esb/samples/quickstart/transformcsv2xml/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/MyJMSListenerAction.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/ReturnJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/ReceiveJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/test/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/test/OrderDate.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/test/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/org/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/org/jboss/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/org/jboss/soa/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmlsimple/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/OrderManagerService.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/ShipperService.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/SendMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_01.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_02.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/webservice/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/webservice/GoodbyeWorldWS.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/MyAction.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/test/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/test/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/org/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/org/jboss/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/org/jboss/soa/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/org/jboss/soa/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/org/jboss/soa/esb/samples/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/org/jboss/soa/esb/samples/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/webservice/
Removed:
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/test/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/src/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/ReceiveJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/test/CreateTestFile.java
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/esb/samples/quickstart/transformcsv2xml/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/ReceiveJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/OrderDate.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmlsimple/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/OrderManagerService.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/ShipperService.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/SendMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_01.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_02.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/webservice/GoodbyeWorldWS.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/test/SendJMSMessage.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/quickstart/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/quickstart/
Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/more_action/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb-unfiltered.xml
   labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/smooks-res.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_jbossws_adapter_01/war/resources/WEB-INF/web.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/resources/WEB-INF/web.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/webservice/HelloWorldWS.java
Log:
JBESB-403

Modified: labs/jbossesb/trunk/product/samples/quickstarts/more_action/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/more_action/build.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/more_action/build.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -10,7 +10,7 @@
 	
   <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">
+     <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.moreaction.test.SendJMSMessage" failonerror="true">
      	<arg value="Goodbye World"/>
 		<classpath refid="exec-classpath"/>
      </java>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/more_action/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/more_action/jboss-esb.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/more_action/jboss-esb.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -39,16 +39,16 @@
                 />                
             </listeners>
             <actions>
-			   <action name="first"  class="quickstart.moreaction.MyJMSListenerAction"  process="displayMessage" >
+			   <action name="first"  class="org.jboss.soa.esb.samples.quickstart.moreaction.MyJMSListenerAction"  process="displayMessage" >
 			   		<property name="exceptionMethod" value="exceptionHandler" />
 			   </action>
-		   	   <action name="second" class="quickstart.moreaction.MyJMSListenerAction" >
+		   	   <action name="second" class="org.jboss.soa.esb.samples.quickstart.moreaction.MyJMSListenerAction" >
 			   		<property name="exceptionMethod" value="exceptionHandler" />
 			   </action>
-		   	   <action name="third"  class="quickstart.moreaction.StatefulAction"  process="methodOne,methodTwo,displayCount" > 
+		   	   <action name="third"  class="org.jboss.soa.esb.samples.quickstart.moreaction.StatefulAction"  process="methodOne,methodTwo,displayCount" > 
 			   		<property name="exceptionMethod" value="exceptionHandler" />
 			   </action>
-		   	   <action name="fourth" class="quickstart.moreaction.CustomConfigAction"  process="displayConfig" >
+		   	   <action name="fourth" class="org.jboss.soa.esb.samples.quickstart.moreaction.CustomConfigAction"  process="displayConfig" >
 		   	   		<property name="myStuff" value="rocks" />
 		   	   		<property name="moreStuff" value="rocks harder"/>
 		   	   		<property name="subElements">

Modified: labs/jbossesb/trunk/product/samples/quickstarts/more_action/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/more_action/readme.txt	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/more_action/readme.txt	2007-04-29 18:48:09 UTC (rev 11466)
@@ -3,10 +3,10 @@
 	The purpose of the more_action quickstart example is to show different ways of using Action classes.
 
 	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"
+	   <action class="org.jboss.soa.esb.samples.quickstart.moreaction.MyJMSListenerAction" process="displayMessage" exceptionMethod="exceptionHandler" />	  
+   	   <action class="org.jboss.soa.esb.samples.quickstart.moreaction.MyJMSListenerAction" exceptionMethod="exceptionHandler" />
+   	   <action class="org.jboss.soa.esb.samples.quickstart.moreaction.StatefulAction"  process="methodOne,methodTwo,displayCount" exceptionMethod="exceptionHandler" />
+   	   <action class="org.jboss.soa.esb.samples.quickstart.moreaction.CustomConfigAction" process="displayConfig"
 			myStuff="rocks"
 			moreStuff="rocks harder">
    	   		<subElement1>Value of 1</subElement1>
@@ -48,10 +48,10 @@
 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"
+       <action class="org.jboss.soa.esb.samples.quickstart.moreaction.MyJMSListenerAction" process="displayMessage" exceptionMethod="exceptionHandler" />
+       <action class="org.jboss.soa.esb.samples.quickstart.moreaction.MyJMSListenerAction" exceptionMethod="exceptionHandler" />
+       <action class="org.jboss.soa.esb.samples.quickstart.moreaction.StatefulAction"  process="methodOne,methodTwo,displayCount" exceptionMethod="exceptionHandler" />
+       <action class="org.jboss.soa.esb.samples.quickstart.moreaction.CustomConfigAction" process="displayConfig"
             myStuff="rocks"
             moreStuff="rocks harder">
             <subElement1>Value of 1</subElement1>

Copied: labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/CustomConfigAction.java (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/quickstart/moreaction/CustomConfigAction.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/CustomConfigAction.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/CustomConfigAction.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.moreaction;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import java.util.Set;
+
+public class CustomConfigAction extends AbstractActionLifecycle {
+	protected ConfigTree	_config;
+	public CustomConfigAction(ConfigTree config) { _config = config; } 
+	
+	public Message displayConfig(Message msg) {
+		// Note: in and out message is being ignored
+		
+	    Set<String> names = _config.getAttributeNames();
+	    System.out.println("****************************");
+	    for (String attrName : names) {
+	    	String value = _config.getAttribute(attrName);
+	    	System.out.println("Attribute: " + attrName + " Value: " + value);
+	    }
+	    System.out.println("****************************");
+	    
+	    ConfigTree[] subElements = _config.getAllChildren();
+	    // Note: even a sub-element can have attributes but trying to keep this simple
+	    System.out.println("############################");
+	    for (ConfigTree child : subElements) {
+	    	System.out.println("SubElement: " + child.getName() + "Body: " + child.getWholeText());
+	    }
+	    System.out.println("############################");
+		return msg;
+	}
+}

Copied: labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/MyJMSListenerAction.java (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/quickstart/moreaction/MyJMSListenerAction.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/MyJMSListenerAction.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/MyJMSListenerAction.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,67 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.moreaction;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+
+public class MyJMSListenerAction extends AbstractActionLifecycle
+{
+    
+  protected ConfigTree	_config;
+	  
+  public MyJMSListenerAction(ConfigTree config) { _config = config; } 
+  
+  public Message noOperation(Message message) { return message; } 
+
+  public Message process(Message message) {
+	  System.out.println("** Demonstrates the default method call if no process attribute is specified");
+	  return message;	 
+  }
+  
+  public Message displayMessage(Message message) throws Exception{		
+		  logHeader();
+		  System.out.println("Body: " + new String(message.getBody().getContents()));
+		  logFooter();
+		  return message;         	
+	}
+   
+   public void exceptionHandler(Message message, Throwable exception) {
+	   logHeader();
+	   System.out.println("!ERROR!");
+	   System.out.println(exception.getMessage());
+	   System.out.println("For Message: ");
+	   System.out.println(message.getBody().getContents());
+	   logFooter();
+   }
+	
+
+   // This makes it easier to read on the console
+   private void logHeader() {
+	   System.out.println("\n&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
+   }
+   private void logFooter() {
+	   System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+   }
+    
+	
+}
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/StatefulAction.java (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/quickstart/moreaction/StatefulAction.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/StatefulAction.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/StatefulAction.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,66 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.moreaction;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+
+public class StatefulAction extends AbstractActionLifecycle {
+	 protected ConfigTree	_config;
+	 int cnt = 0;
+	 public StatefulAction(ConfigTree config) {
+		 System.out.println("\n\n!!Constructor - " + this.getClass().getName() + "!!\n");
+		 cnt++; // 1
+		 _config = config; 
+	 } 
+	  
+	 public Message methodOne(Message msg) throws Exception {
+		 cnt++; // 2
+		 System.out.println("methodOne: " + cnt);
+		 return msg;
+	 }
+	 public Message methodTwo(Message msg) throws Exception {
+		 cnt++; // 3
+		 System.out.println("methodTwo: " + cnt);
+		 return msg;
+	 }
+	 public Message displayCount(Message msg) throws Exception {
+		 System.out.println("\n\n displayCount cnt=" + cnt + "\n");
+		 return msg;
+	 }
+	 public void exceptionHandler(Message message, Throwable exception) {
+	  logHeader();
+	  System.out.println("!ERROR!");
+	  System.out.println(exception.getMessage());
+	  System.out.println("For Message: ");
+	  System.out.println(message.getBody().getContents());
+	  logFooter();
+	 }
+	   
+	 // This makes it easier to read on the console
+	 private void logHeader() {
+	  System.out.println("\n&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
+	 }
+	 private void logFooter() {
+	  System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+	 }
+}

Copied: labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/test (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/quickstart/moreaction/test)

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

Copied: labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/test/SendJMSMessage.java (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/quickstart/moreaction/test/SendJMSMessage.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/test/SendJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/more_action/src/org/jboss/soa/esb/samples/quickstart/moreaction/test/SendJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,76 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.moreaction.test;
+
+import javax.jms.JMSException;
+import javax.jms.ObjectMessage;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueSender;
+import javax.jms.QueueSession;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+public class SendJMSMessage {
+    QueueConnection conn;
+    QueueSession session;
+    Queue que;
+    
+    
+    public void setupConnection() throws JMSException, NamingException
+    {
+    	InitialContext iniCtx = new InitialContext();
+    	Object tmp = iniCtx.lookup("ConnectionFactory");
+    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+    	conn = qcf.createQueueConnection();
+    	que = (Queue) iniCtx.lookup("queue/quickstart_more_action_Request");
+    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+    	conn.start();
+    	System.out.println("Connection Started");
+    }
+    
+    public void stop() throws JMSException 
+    { 
+        conn.stop();
+        session.close();
+        conn.close();
+    }
+    
+    public void sendAMessage(String msg) throws JMSException {
+    	
+        QueueSender send = session.createSender(que);        
+        ObjectMessage tm = session.createObjectMessage(msg);
+        send.send(tm);        
+        send.close();
+    }
+       
+    
+    public static void main(String args[]) throws Exception
+    {        	    	
+    	SendJMSMessage sm = new SendJMSMessage();
+    	sm.setupConnection();
+    	sm.sendAMessage(args[0]); 
+    	sm.stop();
+    	
+    }
+    
+}
\ 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-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/scripting_groovy/build.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -13,7 +13,7 @@
 	<!-- Target for injecting the sample order message for transformation... -->
 	<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">
+        <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.scriptinggroovy.test.SendJMSMessage" failonerror="true">
             <arg value="Goodbye World"/>
 			<classpath refid="exec-classpath" />
 		</java>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/build.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/build.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -33,14 +33,14 @@
 
   <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">
+     <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.simplecbr.test.SendJMSMessage" failonerror="true">
 		<classpath refid="exec-classpath"/>
      </java>
   </target>  
 	
   <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">
+	 <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.simplecbr.test.ReceiveJMSMessage" failonerror="true">
 	  	<arg value="queue/CBRExpressFreeShippingAlert"/>
 		<classpath refid="exec-classpath"/>
 	 </java>
@@ -48,7 +48,7 @@
 	
   <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">
+	 <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.simplecbr.test.ReceiveJMSMessage" failonerror="true">
 	   	<arg value="queue/CBRNormalShippingAlert"/>
 		<classpath refid="exec-classpath"/>
 	 </java>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/jboss-esb.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/jboss-esb.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -80,12 +80,12 @@
   	      </listeners>
   	      <actions>
                <action name="displayMessageAction" 
-                   	class="quickstart.MyJMSListenerAction" 
+                   	class="org.jboss.soa.esb.samples.quickstart.simplecbr.MyJMSListenerAction" 
                    	process="displayMessage" 
                    	/>   
                 <!-- This can be replaced with notification -->
                 <action name="route"
-                   class="quickstart.RouteNormalShipping"
+                   class="org.jboss.soa.esb.samples.quickstart.simplecbr.RouteNormalShipping"
                    process="sendResponse"
                 />   
            </actions>
@@ -105,12 +105,12 @@
   	      </listeners>
   	        <actions>
                <action name="displayMessageAction" 
-                   	class="quickstart.MyJMSListenerAction" 
+                   	class="org.jboss.soa.esb.samples.quickstart.simplecbr.MyJMSListenerAction" 
                    	process="displayMessage" 
                    	/>   
                 <!-- This can be replaced with notification -->
                 <action name="route"
-                   class="quickstart.RouteExpressShipping"
+                   class="org.jboss.soa.esb.samples.quickstart.simplecbr.RouteExpressShipping"
                    process="sendResponse"
                 />   
            </actions>

Copied: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/MyJMSListenerAction.java (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/quickstart/MyJMSListenerAction.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/MyJMSListenerAction.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/MyJMSListenerAction.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,62 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.simplecbr;
+
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+
+public class MyJMSListenerAction extends AbstractActionLifecycle
+{
+    
+  protected ConfigTree	_config;
+	  
+  public MyJMSListenerAction(ConfigTree config) { _config = config; } 
+  
+  public Message noOperation(Message message) { return message; } 
+
+  public Message displayMessage(Message message) throws Exception{		
+		  logHeader();
+		  System.out.println("Body: " + new String(message.getBody().getContents()));
+		  logFooter();
+		  return message;         	
+	}
+  
+   public void exceptionHandler(Message message, Throwable exception) {
+	   logHeader();
+	   System.out.println("!ERROR!");
+	   System.out.println(exception.getMessage());
+	   System.out.println("For Message: ");
+	   System.out.println(message.getBody().getContents());
+	   logFooter();
+   }
+	
+
+   // This makes it easier to read on the console
+   private void logHeader() {
+	   System.out.println("\n&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
+   }
+   private void logFooter() {
+	   System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+   }
+    
+	
+}
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/ReturnJMSMessage.java (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/quickstart/ReturnJMSMessage.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/ReturnJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/ReturnJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.simplecbr;
+
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+import javax.jms.JMSException;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueSession;
+import javax.jms.QueueSender;
+import javax.jms.ObjectMessage;
+import javax.jms.TextMessage;
+
+import java.io.File;
+import java.io.FileReader;
+import java.io.IOException;
+import org.jboss.soa.esb.message.Message;
+
+public class ReturnJMSMessage {
+       
+    public static void sendMessage(Message esbMessage,String newDestination) throws JMSException, NamingException, Exception {
+    	if (esbMessage == null || newDestination == null) 
+    		throw new Exception("Message and JMS Destination are required");
+    
+    	QueueConnection conn;
+        QueueSession session;
+        Queue que;
+        
+    	InitialContext iniCtx = new InitialContext();
+    	Object tmp = iniCtx.lookup("ConnectionFactory");
+    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+    	conn = qcf.createQueueConnection();
+    	que = (Queue) iniCtx.lookup("queue/" + newDestination);
+    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+    	conn.start();
+
+    	    	   
+    	String newMsg = new String(esbMessage.getBody().getContents());
+
+    	
+    	QueueSender send = session.createSender(que);        
+        TextMessage tm = session.createTextMessage(newMsg);
+        send.send(tm);
+        
+
+    	conn.stop();
+    }    
+    
+}
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/RouteExpressShipping.java (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/quickstart/RouteExpressShipping.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/RouteExpressShipping.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/RouteExpressShipping.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,58 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.simplecbr;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+
+public class RouteExpressShipping extends AbstractActionLifecycle {
+	
+	  protected ConfigTree	_config;
+	  
+	  public RouteExpressShipping(ConfigTree config) { _config = config; } 
+	  
+	  // used to send response
+	  public Message noOperation(Message message) { return message; }
+	  
+	  public Message sendResponse(Message message) {
+		  try {
+			   logHeader();
+			   System.out.println(new String(message.getBody().getContents()));
+			   System.out.println("EXPRESS EXPRESS EXPRESS");
+			   logFooter();
+			   ReturnJMSMessage.sendMessage(message,"CBRExpressFreeShippingAlert");
+		   } catch (Exception e) {
+			   logHeader();
+			   System.out.println(e.getMessage());
+			   logFooter();
+		   }
+		   return message;
+	  }
+	   private void logHeader() {
+		   System.out.println("\n&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
+	   }
+	   private void logFooter() {
+		   System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+	   }
+
+	
+}

Copied: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/RouteNormalShipping.java (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/quickstart/RouteNormalShipping.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/RouteNormalShipping.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/RouteNormalShipping.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,58 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.simplecbr;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+
+public class RouteNormalShipping extends AbstractActionLifecycle {
+	
+	  protected ConfigTree	_config;
+	  
+	  public RouteNormalShipping(ConfigTree config) { _config = config; } 
+	  
+	  // used to send response
+	  public Message noOperation(Message message) { return message; }
+	  
+	  public Message sendResponse(Message message) {
+		  try {
+			   logHeader();
+			   System.out.println(new String(message.getBody().getContents()));
+			   System.out.println("NORMAL SHIPPING");
+			   logFooter();
+			   ReturnJMSMessage.sendMessage(message,"CBRNormalShippingAlert");
+		   } catch (Exception e) {
+			   logHeader();
+			   System.out.println(e.getMessage());
+			   logFooter();
+		   }
+		   return message;
+	  }
+	   private void logHeader() {
+		   System.out.println("\n&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
+	   }
+	   private void logFooter() {
+		   System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+	   }
+
+	
+}

Copied: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/quickstart/test)

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/ReceiveJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/quickstart/test/ReceiveJMSMessage.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/ReceiveJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,75 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated 
- * by the @authors tag. All rights reserved. 
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
- * MA  02110-1301, USA.
- * 
- * (C) 2005-2006,
- * @author JBoss Inc.
- */
-package quickstart.test;
-
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.QueueReceiver;
-import javax.jms.QueueSession;
-import javax.jms.TextMessage;
-import javax.naming.InitialContext;
-
-public class ReceiveJMSMessage {
-	   QueueConnection conn = null;	   
-	   QueueSession receiverSession = null;	   
-	   Queue receiverQueue = null;	   
-	   QueueReceiver queueReceiver = null;
-	   InitialContext iniCtx = null;
-	   QueueConnectionFactory qcf = null;
-	   String receiveQueueName = "queue/D"; // Default to queue/D
-	   
-	   public ReceiveJMSMessage() {
-		   
-	   }
-	   public void receiveOne() {
-		   try {
-		   if (iniCtx == null) iniCtx = new InitialContext();
-	          if (qcf == null) qcf = (QueueConnectionFactory) iniCtx.lookup("ConnectionFactory");
-	          if (conn == null) {
-	              conn = qcf.createQueueConnection();
-	              conn.start();
-	          }	        
-	          receiverQueue = (Queue) iniCtx.lookup(receiveQueueName);
-	          receiverSession = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-	    	  queueReceiver = receiverSession.createReceiver(receiverQueue); 
-	    	  TextMessage msg = (TextMessage) queueReceiver.receive(2000);
-	    	  if (msg != null) {
-	    		  System.out.println("*********************************************************");
-	    		  System.out.println(msg);
-	    		  System.out.println("*********************************************************");
-	    	  }	
-		   } catch (Exception e) {
-			   System.out.println(e);
-		   }
-	   }
-	   public static void main(String[] args) {
-		      ReceiveJMSMessage receiver = new ReceiveJMSMessage();
-		      
-		      if(args[0] != null) {
-		    	  receiver.receiveQueueName = args[0];
-		    	  System.out.println("Receiving on: " + receiver.receiveQueueName );		    	 
-		      }		    	  
-		      while (true) { // loop until I'm killed
-		    	  receiver.receiveOne();
-		      }
-	   }
-}

Copied: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/ReceiveJMSMessage.java (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/quickstart/test/ReceiveJMSMessage.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/ReceiveJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/ReceiveJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.simplecbr.test;
+
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueReceiver;
+import javax.jms.QueueSession;
+import javax.jms.TextMessage;
+import javax.naming.InitialContext;
+
+public class ReceiveJMSMessage {
+	   QueueConnection conn = null;	   
+	   QueueSession receiverSession = null;	   
+	   Queue receiverQueue = null;	   
+	   QueueReceiver queueReceiver = null;
+	   InitialContext iniCtx = null;
+	   QueueConnectionFactory qcf = null;
+	   String receiveQueueName = "queue/D"; // Default to queue/D
+	   
+	   public ReceiveJMSMessage() {
+		   
+	   }
+	   public void receiveOne() {
+		   try {
+		   if (iniCtx == null) iniCtx = new InitialContext();
+	          if (qcf == null) qcf = (QueueConnectionFactory) iniCtx.lookup("ConnectionFactory");
+	          if (conn == null) {
+	              conn = qcf.createQueueConnection();
+	              conn.start();
+	          }	        
+	          receiverQueue = (Queue) iniCtx.lookup(receiveQueueName);
+	          receiverSession = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+	    	  queueReceiver = receiverSession.createReceiver(receiverQueue); 
+	    	  TextMessage msg = (TextMessage) queueReceiver.receive(2000);
+	    	  if (msg != null) {
+	    		  System.out.println("*********************************************************");
+	    		  System.out.println(msg);
+	    		  System.out.println("*********************************************************");
+	    	  }	
+		   } catch (Exception e) {
+			   System.out.println(e);
+		   }
+	   }
+	   public static void main(String[] args) {
+		      ReceiveJMSMessage receiver = new ReceiveJMSMessage();
+		      
+		      if(args[0] != null) {
+		    	  receiver.receiveQueueName = args[0];
+		    	  System.out.println("Receiving on: " + receiver.receiveQueueName );		    	 
+		      }		    	  
+		      while (true) { // loop until I'm killed
+		    	  receiver.receiveOne();
+		      }
+	   }
+}

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/quickstart/test/SendJMSMessage.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/SendJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,110 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated 
- * by the @authors tag. All rights reserved. 
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
- * MA  02110-1301, USA.
- * 
- * (C) 2005-2006,
- * @author JBoss Inc.
- */
-package quickstart.test;
-
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-import javax.jms.JMSException;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueSession;
-import javax.jms.QueueSender;
-import javax.jms.ObjectMessage;
-
-import java.io.File;
-import java.io.FileReader;
-import java.io.IOException;
-
-public class SendJMSMessage {
-    QueueConnection conn;
-    QueueSession session;
-    Queue que;
-    
-    
-    public void setupConnection() throws JMSException, NamingException
-    {
-    	InitialContext iniCtx = new InitialContext();
-    	Object tmp = iniCtx.lookup("ConnectionFactory");
-    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
-    	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_simple_cbr_Request");
-    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-    	conn.start();
-    	System.out.println("Connection Started");
-    }
-    
-    public void stop() throws JMSException 
-    { 
-        conn.stop();
-        session.close();
-        conn.close();
-    }
-    
-    public void sendAMessage(String msg) throws JMSException {
-    	
-        QueueSender send = session.createSender(que);        
-        ObjectMessage tm = session.createObjectMessage(msg);        
-        send.send(tm);        
-        send.close();
-    }
-    public String readAsciiFile(String fileName) throws IOException {
-		  FileReader fr = null;
-		  char[] thechars = null;
-
-		  try {
-			  File thefile = new File( fileName );
-			  fr = new FileReader( thefile );
-			  int size = (int) thefile.length();
-			  thechars = new char[size];
-		
-			  int count, index = 0;
-		
-			  // 	read in the bytes from the input stream
-			  while( ( count = fr.read( thechars, index, size ) ) > 0 ) {
-				  size -= count;
-				  index += count;
-			  }
-			} catch(Exception e) {	
-				System.out.println(e);
-			}
-			finally {
-				if( fr != null )
-		        fr.close();
-			}
-			return new String(thechars);
-
-    } // readAsciiFile
-    
-    public static void main(String args[]) throws Exception
-    {        	    	
-    	SendJMSMessage sm = new SendJMSMessage();
-    	sm.setupConnection();
-    	String fileContent = sm.readAsciiFile("SampleOrder.xml");
-    	System.out.println("---------------------------------------------");
-    	System.out.println(fileContent);
-    	System.out.println("---------------------------------------------");
-    	sm.sendAMessage(fileContent); 
-    	sm.stop();
-    	
-    }
-    
-}
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/SendJMSMessage.java (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/quickstart/test/SendJMSMessage.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/SendJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/test/SendJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.simplecbr.test;
+
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+import javax.jms.JMSException;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueSession;
+import javax.jms.QueueSender;
+import javax.jms.ObjectMessage;
+
+import java.io.File;
+import java.io.FileReader;
+import java.io.IOException;
+
+public class SendJMSMessage {
+    QueueConnection conn;
+    QueueSession session;
+    Queue que;
+    
+    
+    public void setupConnection() throws JMSException, NamingException
+    {
+    	InitialContext iniCtx = new InitialContext();
+    	Object tmp = iniCtx.lookup("ConnectionFactory");
+    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+    	conn = qcf.createQueueConnection();
+    	que = (Queue) iniCtx.lookup("queue/quickstart_simple_cbr_Request");
+    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+    	conn.start();
+    	System.out.println("Connection Started");
+    }
+    
+    public void stop() throws JMSException 
+    { 
+        conn.stop();
+        session.close();
+        conn.close();
+    }
+    
+    public void sendAMessage(String msg) throws JMSException {
+    	
+        QueueSender send = session.createSender(que);        
+        ObjectMessage tm = session.createObjectMessage(msg);        
+        send.send(tm);        
+        send.close();
+    }
+    public String readAsciiFile(String fileName) throws IOException {
+		  FileReader fr = null;
+		  char[] thechars = null;
+
+		  try {
+			  File thefile = new File( fileName );
+			  fr = new FileReader( thefile );
+			  int size = (int) thefile.length();
+			  thechars = new char[size];
+		
+			  int count, index = 0;
+		
+			  // 	read in the bytes from the input stream
+			  while( ( count = fr.read( thechars, index, size ) ) > 0 ) {
+				  size -= count;
+				  index += count;
+			  }
+			} catch(Exception e) {	
+				System.out.println(e);
+			}
+			finally {
+				if( fr != null )
+		        fr.close();
+			}
+			return new String(thechars);
+
+    } // readAsciiFile
+    
+    public static void main(String args[]) throws Exception
+    {        	    	
+    	SendJMSMessage sm = new SendJMSMessage();
+    	sm.setupConnection();
+    	String fileContent = sm.readAsciiFile("SampleOrder.xml");
+    	System.out.println("---------------------------------------------");
+    	System.out.println(fileContent);
+    	System.out.println("---------------------------------------------");
+    	sm.sendAMessage(fileContent); 
+    	sm.stop();
+    	
+    }
+    
+}
\ No newline at end of file

Modified: labs/jbossesb/trunk/product/samples/quickstarts/static_router/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/static_router/build.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/static_router/build.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -44,7 +44,7 @@
 	
 	<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">
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.staticrouter.test.CreateTestFile" failonerror="true">
 			<arg value="${quickstart.jbossesb.ftp.hostname}"/>
 			<arg value="${quickstart.jbossesb.ftp.username}"/>
 			<arg value="${quickstart.jbossesb.ftp.password}"/>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb-unfiltered.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb-unfiltered.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -85,7 +85,7 @@
                 <fs-listener name="fileDest01" busidref="fileMessageDestination_01" maxThreads="1" />                
             </listeners>
             <actions>
-               <action name="doThis"  class="quickstart.static_router.SimpleFileAction">
+               <action name="doThis"  class="org.jboss.soa.esb.samples.quickstart.staticrouter.SimpleFileAction">
                		<property name="msgSuffix" value=".01FromRouter" />
                </action>
             </actions>
@@ -99,7 +99,7 @@
                 <fs-listener name="fileDest02" busidref="fileMessageDestination_02" maxThreads="1" />                
             </listeners>
             <actions>
-               <action name="doThis"  class="quickstart.static_router.SimpleFileAction">
+               <action name="doThis"  class="org.jboss.soa.esb.samples.quickstart.staticrouter.SimpleFileAction">
                		<property name="msgSuffix" value=".02FromRouter" />
                </action>
             </actions>
@@ -113,7 +113,7 @@
                 <fs-listener name="fileDest03" busidref="fileMessageDestination_03" maxThreads="1" />                
             </listeners>
             <actions>
-               <action name="doThis"  class="quickstart.static_router.SimpleFileAction">
+               <action name="doThis"  class="org.jboss.soa.esb.samples.quickstart.staticrouter.SimpleFileAction">
                		<property name="msgSuffix" value=".03FromRouter" />
                </action>
             </actions>

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-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/static_router/jboss-esb.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -85,7 +85,7 @@
                 <fs-listener name="fileDest01" busidref="fileMessageDestination_01" maxThreads="1" />                
             </listeners>
             <actions>
-               <action name="doThis"  class="quickstart.static_router.SimpleFileAction">
+               <action name="doThis"  class="org.jboss.soa.esb.samples.quickstart.staticrouter.SimpleFileAction">
                		<property name="msgSuffix" value=".01FromRouter" />
                </action>
             </actions>
@@ -99,7 +99,7 @@
                 <fs-listener name="fileDest02" busidref="fileMessageDestination_02" maxThreads="1" />                
             </listeners>
             <actions>
-               <action name="doThis"  class="quickstart.static_router.SimpleFileAction">
+               <action name="doThis"  class="org.jboss.soa.esb.samples.quickstart.staticrouter.SimpleFileAction">
                		<property name="msgSuffix" value=".02FromRouter" />
                </action>
             </actions>
@@ -113,7 +113,7 @@
                 <fs-listener name="fileDest03" busidref="fileMessageDestination_03" maxThreads="1" />                
             </listeners>
             <actions>
-               <action name="doThis"  class="quickstart.static_router.SimpleFileAction">
+               <action name="doThis"  class="org.jboss.soa.esb.samples.quickstart.staticrouter.SimpleFileAction">
                		<property name="msgSuffix" value=".03FromRouter" />
                </action>
             </actions>

Copied: labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/SimpleFileAction.java (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/quickstart/static_router/SimpleFileAction.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/SimpleFileAction.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/SimpleFileAction.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,47 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.staticrouter;
+
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+
+public class SimpleFileAction extends AbstractActionLifecycle
+{
+	protected ConfigTree _config;
+
+	public SimpleFileAction (ConfigTree tree) { _config = tree; }
+
+	public Message process(Message message) throws Exception
+	{
+
+		String sMsg = new String(message.getBody().getContents());
+		sMsg = sMsg + " - to file with suffix="+_config.getAttribute("msgSuffix");
+		message.getBody().setContents(sMsg.getBytes());
+		
+	  System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");		  		  
+	  System.out.println("\nBody: " + sMsg);
+	  System.out.println("\n&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
+
+		
+		return message;
+	}
+}

Copied: labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/test (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/quickstart/static_router/test)

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/test/CreateTestFile.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/quickstart/static_router/test/CreateTestFile.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/test/CreateTestFile.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,110 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated 
- * by the @authors tag. All rights reserved. 
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
- * MA  02110-1301, USA.
- * 
- * (C) 2005-2006,
- * @author JBoss Inc.
- */
-package quickstart.static_router.test;
-
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.PrintStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.net.URLConnection;
-
-public class CreateTestFile {
-	
-	public static void main(final String[] args) {
-		if (args.length != 5)
-		{
-			System.err.println("Usage: java " + CreateTestFile.class.getName() + " <hostname> <username> <password> <filename> <contents>") ;
-			System.exit(1) ;
-		}
-		else
-		{
-			final String hostname = args[0] ;
-			final String username = args[1] ;
-			final String password = args[2] ;
-			final String filename = args[3] ;
-			final String contents = args[4] ;
-			
-			final URL url ;
-			final String filenameVal ;
-			if (filename.charAt(0) == '/')
-			{
-				filenameVal = (filename.length() > 1 ? "%2F" + filename.substring(1) : "%2F") ;
-			}
-			else
-			{
-				filenameVal = filename ;
-			}
-			try
-			{
-				url = new URL("ftp://" + username + ":" + password + "@" + hostname + "/" + filenameVal) ;
-			}
-			catch (final MalformedURLException murle)
-			{
-				exit("Invalid URL: " + filenameVal, murle, 2) ;
-				return ; // for compiler
-			}
-			final URLConnection connection ;
-			try
-			{
-				connection = url.openConnection() ;
-			}
-			catch (final IOException ioe)
-			{
-				exit("Error accessing location: " + filenameVal, ioe, 3) ;
-				return ; // for compiler
-			}
-			connection.setDoOutput(true) ;
-			final OutputStream os ;
-			try
-			{
-				os = connection.getOutputStream() ;
-			}
-			catch (final IOException ioe)
-			{
-				exit("Error obtaining output stream for location: " + filenameVal, ioe, 4) ;
-				return ; // for compiler
-			}
-			
-			try
-			{
-				final PrintStream ps = new PrintStream(os) ;
-				ps.print(contents) ;
-				ps.close() ;
-			}
-			finally
-			{
-				try
-				{
-					os.close() ;
-				}
-				catch (final IOException ioe) {} //ignore
-			}
-		}
-	}
-	
-	private static void exit(final String message, final Throwable th, final int exitValue)
-	{
-		System.err.println(message) ;
-		th.printStackTrace() ;
-		System.exit(exitValue) ;
-	}
-}

Copied: labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/test/CreateTestFile.java (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/quickstart/static_router/test/CreateTestFile.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/test/CreateTestFile.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/static_router/src/org/jboss/soa/esb/samples/quickstart/staticrouter/test/CreateTestFile.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.staticrouter.test;
+
+import java.io.IOException;
+import java.io.OutputStream;
+import java.io.PrintStream;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLConnection;
+
+public class CreateTestFile {
+	
+	public static void main(final String[] args) {
+		if (args.length != 5)
+		{
+			System.err.println("Usage: java " + CreateTestFile.class.getName() + " <hostname> <username> <password> <filename> <contents>") ;
+			System.exit(1) ;
+		}
+		else
+		{
+			final String hostname = args[0] ;
+			final String username = args[1] ;
+			final String password = args[2] ;
+			final String filename = args[3] ;
+			final String contents = args[4] ;
+			
+			final URL url ;
+			final String filenameVal ;
+			if (filename.charAt(0) == '/')
+			{
+				filenameVal = (filename.length() > 1 ? "%2F" + filename.substring(1) : "%2F") ;
+			}
+			else
+			{
+				filenameVal = filename ;
+			}
+			try
+			{
+				url = new URL("ftp://" + username + ":" + password + "@" + hostname + "/" + filenameVal) ;
+			}
+			catch (final MalformedURLException murle)
+			{
+				exit("Invalid URL: " + filenameVal, murle, 2) ;
+				return ; // for compiler
+			}
+			final URLConnection connection ;
+			try
+			{
+				connection = url.openConnection() ;
+			}
+			catch (final IOException ioe)
+			{
+				exit("Error accessing location: " + filenameVal, ioe, 3) ;
+				return ; // for compiler
+			}
+			connection.setDoOutput(true) ;
+			final OutputStream os ;
+			try
+			{
+				os = connection.getOutputStream() ;
+			}
+			catch (final IOException ioe)
+			{
+				exit("Error obtaining output stream for location: " + filenameVal, ioe, 4) ;
+				return ; // for compiler
+			}
+			
+			try
+			{
+				final PrintStream ps = new PrintStream(os) ;
+				ps.print(contents) ;
+				ps.close() ;
+			}
+			finally
+			{
+				try
+				{
+					os.close() ;
+				}
+				catch (final IOException ioe) {} //ignore
+			}
+		}
+	}
+	
+	private static void exit(final String message, final Throwable th, final int exitValue)
+	{
+		System.err.println(message) ;
+		th.printStackTrace() ;
+		System.exit(exitValue) ;
+	}
+}

Modified: labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/build.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/build.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -17,7 +17,7 @@
 	<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">
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.transformcsv2xml.SendJMSMessage" failonerror="true">
 			<arg value="SampleOrder.csv" />
 			<classpath refid="exec-classpath" />
 		</java>

Copied: labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/esb/samples/quickstart/transformcsv2xml (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/quickstart/helloworld/test)

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/esb/samples/quickstart/transformcsv2xml/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/quickstart/helloworld/test/SendJMSMessage.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/esb/samples/quickstart/transformcsv2xml/SendJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,93 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated 
- * by the @authors tag. All rights reserved. 
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
- * MA  02110-1301, USA.
- * 
- * (C) 2005-2006,
- * @author JBoss Inc.
- */
-package quickstart.helloworld.test;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-
-import javax.jms.JMSException;
-import javax.jms.ObjectMessage;
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.QueueSender;
-import javax.jms.QueueSession;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-
-import org.milyn.io.StreamUtils;
-
-public class SendJMSMessage {
-    QueueConnection conn;
-    QueueSession session;
-    Queue que;
-    
-    
-    public void setupConnection() throws JMSException, NamingException
-    {
-    	InitialContext iniCtx = new InitialContext();
-    	Object tmp = iniCtx.lookup("ConnectionFactory");
-    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
-    	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_transform_CSV2XML_gw");
-    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-    	conn.start();
-    	System.out.println("Connection Started");
-    }
-    
-    public void stop() throws JMSException 
-    { 
-        conn.stop();
-        session.close();
-        conn.close();
-    }
-    
-    public void sendAMessage(String fileName) throws JMSException, FileNotFoundException, IOException {
-    	
-        QueueSender send = session.createSender(que);
-        ObjectMessage tm;
-        File file = new File(fileName);
-        
-        if(!file.exists()) {
-        	throw new IllegalArgumentException("Input message file [" + file.getAbsolutePath() + "] not found.");
-        }
-        
-        String message = new String(StreamUtils.readStream(new FileInputStream(file)));
-        
-        tm = session.createObjectMessage(message);
-        send.send(tm);        
-        send.close();
-        
-        System.out.println("*** Switch back to the ESB Java console now to see '" + fileName + "' before and after the transformation...");
-    }
-       
-    
-    public static void main(String args[]) throws Exception
-    {        	    	
-    	SendJMSMessage sm = new SendJMSMessage();
-    	sm.setupConnection();
-    	sm.sendAMessage(args[0]); 
-    	sm.stop();
-    }
-    
-}

Copied: labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/esb/samples/quickstart/transformcsv2xml/SendJMSMessage.java (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/quickstart/helloworld/test/SendJMSMessage.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/esb/samples/quickstart/transformcsv2xml/SendJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_CSV2XML/src/org/jboss/soa/esb/samples/quickstart/transformcsv2xml/SendJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.transformcsv2xml;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+
+import javax.jms.JMSException;
+import javax.jms.ObjectMessage;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueSender;
+import javax.jms.QueueSession;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+import org.milyn.io.StreamUtils;
+
+public class SendJMSMessage {
+    QueueConnection conn;
+    QueueSession session;
+    Queue que;
+    
+    
+    public void setupConnection() throws JMSException, NamingException
+    {
+    	InitialContext iniCtx = new InitialContext();
+    	Object tmp = iniCtx.lookup("ConnectionFactory");
+    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+    	conn = qcf.createQueueConnection();
+    	que = (Queue) iniCtx.lookup("queue/quickstart_transform_CSV2XML_gw");
+    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+    	conn.start();
+    	System.out.println("Connection Started");
+    }
+    
+    public void stop() throws JMSException 
+    { 
+        conn.stop();
+        session.close();
+        conn.close();
+    }
+    
+    public void sendAMessage(String fileName) throws JMSException, FileNotFoundException, IOException {
+    	
+        QueueSender send = session.createSender(que);
+        ObjectMessage tm;
+        File file = new File(fileName);
+        
+        if(!file.exists()) {
+        	throw new IllegalArgumentException("Input message file [" + file.getAbsolutePath() + "] not found.");
+        }
+        
+        String message = new String(StreamUtils.readStream(new FileInputStream(file)));
+        
+        tm = session.createObjectMessage(message);
+        send.send(tm);        
+        send.close();
+        
+        System.out.println("*** Switch back to the ESB Java console now to see '" + fileName + "' before and after the transformation...");
+    }
+       
+    
+    public static void main(String args[]) throws Exception
+    {        	    	
+    	SendJMSMessage sm = new SendJMSMessage();
+    	sm.setupConnection();
+    	sm.sendAMessage(args[0]); 
+    	sm.stop();
+    }
+    
+}

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-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_EDI2XML_Groovy_XSLT/build.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -24,7 +24,7 @@
 	<!-- Target for injecting the sample order message for transformation... -->
 	<target name="runtest" description="runs Test JMS Sender">
 		<echo>Runs Test JMS Sender</echo>
-		<java fork="yes" classname="quickstart.helloworld.test.SendJMSMessage" failonerror="true">
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.transformedi2xmlgroovyxslt.test.SendJMSMessage" failonerror="true">
 			<arg value="SampleOrder.edi" />
 			<classpath refid="exec-classpath" />
 		</java>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/build.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/build.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -17,14 +17,14 @@
 	<!-- Target for injecting the sample order message for transformation... -->
 	<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">
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.transformxml2pojo.test.SendJMSMessage" failonerror="true">
 			<classpath refid="exec-classpath"/>
 		</java>
 	</target>  
 	
 	<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">
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.transformxml2pojo.test.ReceiveJMSMessage" failonerror="true">
 			<classpath refid="exec-classpath"/>
 		</java>
 	</target>  

Modified: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/jboss-esb.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/jboss-esb.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -40,7 +40,7 @@
             </listeners>
             <actions>
                 <action name="displayBeforeTransformer"
-                  	class="quickstart.MyJMSListenerAction" 
+                  	class="org.jboss.soa.esb.samples.quickstart.transformxml2pojo.MyJMSListenerAction" 
                    	process="displayMessage" 
                 />   
                 <action name="transform" class="org.jboss.soa.esb.actions.converters.SmooksTransformer">
@@ -50,9 +50,9 @@
 					<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="displayAfterTransformer" class="org.jboss.soa.esb.samples.quickstart.transformxml2pojo.MyJMSListenerAction" process="displayMessage" />  
                 <action name="returnToSender"
-                	class="quickstart.MyJMSListenerAction" process="sendResponse" />           	   
+                	class="org.jboss.soa.esb.samples.quickstart.transformxml2pojo.MyJMSListenerAction" process="sendResponse" />           	   
             </actions>
         </service>
       </services>

Copied: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/MyJMSListenerAction.java (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/quickstart/MyJMSListenerAction.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/MyJMSListenerAction.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/MyJMSListenerAction.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,92 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.transformxml2pojo;
+
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.Header;
+import org.jboss.soa.esb.message.Body;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.addressing.Call;
+import org.jboss.soa.esb.addressing.EPR;
+
+public class MyJMSListenerAction extends AbstractActionLifecycle
+{
+    
+  protected ConfigTree	_config;
+	  
+  public MyJMSListenerAction(ConfigTree config) { _config = config; } 
+  
+  public Message noOperation(Message message) { return message; } 
+
+  public Message displayMessage(Message message) throws Exception{		
+		  logHeader();
+		  System.out.println("Body: " + new String(message.getBody().getContents()));
+		  logFooter();
+		  return message;         	
+	}
+  
+   public Message playWithMessage(Message message) throws Exception {
+	   Header msgHeader = message.getHeader();
+	   Body msgBody = message.getBody();
+	   Call theCall = msgHeader.getCall();
+	   EPR theEpr = theCall.getFrom();
+	   String contents = new String(msgBody.getContents());
+	   StringBuffer sb = new StringBuffer();
+	   sb.append("BEFORE\n");
+	   sb.append(contents);
+	   sb.append("\nAFTER");
+	   msgBody.setContents(sb.toString().getBytes());
+	   return message;
+   }
+   
+   public void exceptionHandler(Message message, Throwable exception) {
+	   logHeader();
+	   System.out.println("!ERROR!");
+	   System.out.println(exception.getMessage());
+	   System.out.println("For Message: ");
+	   System.out.println(message.getBody().getContents());
+	   logFooter();
+   }
+	
+   public Message sendResponse(Message message) { 
+	   try {
+		   logHeader();
+		   System.out.println(new String(message.getBody().getContents()));
+		   logFooter();
+		   ReturnJMSMessage.sendMessage(message,"quickstart_simple_transformation_Response");
+	   } catch (Exception e) {
+		   logHeader();
+		   System.out.println(e.getMessage());
+		   logFooter();
+	   }
+	   return message; //nothing was done to this but action methods must return a Message
+   }
+   // This makes it easier to read on the console
+   private void logHeader() {
+	   System.out.println("\n&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
+   }
+   private void logFooter() {
+	   System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+   }
+    
+	
+}
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/ReturnJMSMessage.java (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/quickstart/ReturnJMSMessage.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/ReturnJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/ReturnJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.transformxml2pojo;
+
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+import javax.jms.JMSException;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueSession;
+import javax.jms.QueueSender;
+import javax.jms.ObjectMessage;
+import javax.jms.TextMessage;
+
+import java.io.File;
+import java.io.FileReader;
+import java.io.IOException;
+import org.jboss.soa.esb.message.Message;
+
+public class ReturnJMSMessage {
+       
+    public static void sendMessage(Message esbMessage,String newDestination) throws JMSException, NamingException, Exception {
+    	if (esbMessage == null || newDestination == null) 
+    		throw new Exception("Message and JMS Destination are required");
+    
+    	QueueConnection conn;
+        QueueSession session;
+        Queue que;
+        
+    	InitialContext iniCtx = new InitialContext();
+    	Object tmp = iniCtx.lookup("ConnectionFactory");
+    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+    	conn = qcf.createQueueConnection();
+    	que = (Queue) iniCtx.lookup("queue/" + newDestination);
+    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+    	conn.start();
+
+    	    	   
+    	String newMsg = new String(esbMessage.getBody().getContents());
+
+    	
+    	QueueSender send = session.createSender(que);        
+        TextMessage tm = session.createTextMessage(newMsg);
+        send.send(tm);
+        
+
+    	conn.stop();
+    }    
+    
+}
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/quickstart/test)

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/ReceiveJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/quickstart/test/ReceiveJMSMessage.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/ReceiveJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,69 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated 
- * by the @authors tag. All rights reserved. 
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
- * MA  02110-1301, USA.
- * 
- * (C) 2005-2006,
- * @author JBoss Inc.
- */
-package quickstart.test;
-
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.QueueReceiver;
-import javax.jms.QueueSession;
-import javax.jms.TextMessage;
-import javax.naming.InitialContext;
-
-public class ReceiveJMSMessage {
-	   QueueConnection conn = null;	   
-	   QueueSession receiverSession = null;	   
-	   Queue receiverQueue = null;	   
-	   QueueReceiver queueReceiver = null;
-	   InitialContext iniCtx = null;
-	   QueueConnectionFactory qcf = null;
-	   public ReceiveJMSMessage() {
-		   
-	   }
-	   public void receiveOne() {
-		   try {
-		   if (iniCtx == null) iniCtx = new InitialContext();
-	          if (qcf == null) qcf = (QueueConnectionFactory) iniCtx.lookup("ConnectionFactory");
-	          if (conn == null) {
-	              conn = qcf.createQueueConnection();
-	              conn.start();
-	          }
-	          String responseQueueName = "queue/quickstart_simple_transformation_Response";
-	          receiverQueue = (Queue) iniCtx.lookup(responseQueueName);
-	          receiverSession = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-	    	  queueReceiver = receiverSession.createReceiver(receiverQueue); 
-	    	  TextMessage msg = (TextMessage) queueReceiver.receive(2000);
-	    	  if (msg != null) {
-	    		  System.out.println("*********************************************************");
-	    		  System.out.println(msg);
-	    		  System.out.println("*********************************************************");
-	    	  }	
-		   } catch (Exception e) {
-			   System.out.println(e);
-		   }
-	   }
-	   public static void main(String[] args) {
-		      ReceiveJMSMessage receiver = new ReceiveJMSMessage();
-		      while (true) { // loop until I'm killed
-		    	  receiver.receiveOne();
-		      }
-	   }
-}

Copied: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/ReceiveJMSMessage.java (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/quickstart/test/ReceiveJMSMessage.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/ReceiveJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/ReceiveJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.transformxml2pojo.test;
+
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueReceiver;
+import javax.jms.QueueSession;
+import javax.jms.TextMessage;
+import javax.naming.InitialContext;
+
+public class ReceiveJMSMessage {
+	   QueueConnection conn = null;	   
+	   QueueSession receiverSession = null;	   
+	   Queue receiverQueue = null;	   
+	   QueueReceiver queueReceiver = null;
+	   InitialContext iniCtx = null;
+	   QueueConnectionFactory qcf = null;
+	   public ReceiveJMSMessage() {
+		   
+	   }
+	   public void receiveOne() {
+		   try {
+		   if (iniCtx == null) iniCtx = new InitialContext();
+	          if (qcf == null) qcf = (QueueConnectionFactory) iniCtx.lookup("ConnectionFactory");
+	          if (conn == null) {
+	              conn = qcf.createQueueConnection();
+	              conn.start();
+	          }
+	          String responseQueueName = "queue/quickstart_simple_transformation_Response";
+	          receiverQueue = (Queue) iniCtx.lookup(responseQueueName);
+	          receiverSession = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+	    	  queueReceiver = receiverSession.createReceiver(receiverQueue); 
+	    	  TextMessage msg = (TextMessage) queueReceiver.receive(2000);
+	    	  if (msg != null) {
+	    		  System.out.println("*********************************************************");
+	    		  System.out.println(msg);
+	    		  System.out.println("*********************************************************");
+	    	  }	
+		   } catch (Exception e) {
+			   System.out.println(e);
+		   }
+	   }
+	   public static void main(String[] args) {
+		      ReceiveJMSMessage receiver = new ReceiveJMSMessage();
+		      while (true) { // loop until I'm killed
+		    	  receiver.receiveOne();
+		      }
+	   }
+}

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/quickstart/test/SendJMSMessage.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/SendJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,110 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated 
- * by the @authors tag. All rights reserved. 
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
- * MA  02110-1301, USA.
- * 
- * (C) 2005-2006,
- * @author JBoss Inc.
- */
-package quickstart.test;
-
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-import javax.jms.JMSException;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueSession;
-import javax.jms.QueueSender;
-import javax.jms.ObjectMessage;
-
-import java.io.File;
-import java.io.FileReader;
-import java.io.IOException;
-
-public class SendJMSMessage {
-    QueueConnection conn;
-    QueueSession session;
-    Queue que;
-    
-    
-    public void setupConnection() throws JMSException, NamingException
-    {
-    	InitialContext iniCtx = new InitialContext();
-    	Object tmp = iniCtx.lookup("ConnectionFactory");
-    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
-    	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_transform_pojo_gw");
-    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-    	conn.start();
-    	System.out.println("Connection Started");
-    }
-    
-    public void stop() throws JMSException 
-    { 
-        conn.stop();
-        session.close();
-        conn.close();
-    }
-    
-    public void sendAMessage(String msg) throws JMSException {
-    	
-        QueueSender send = session.createSender(que);        
-        ObjectMessage tm = session.createObjectMessage(msg);        
-        send.send(tm);        
-        send.close();
-    }
-    public String readAsciiFile(String fileName) throws IOException {
-		  FileReader fr = null;
-		  char[] thechars = null;
-
-		  try {
-			  File thefile = new File( fileName );
-			  fr = new FileReader( thefile );
-			  int size = (int) thefile.length();
-			  thechars = new char[size];
-		
-			  int count, index = 0;
-		
-			  // 	read in the bytes from the input stream
-			  while( ( count = fr.read( thechars, index, size ) ) > 0 ) {
-				  size -= count;
-				  index += count;
-			  }
-			} catch(Exception e) {	
-				System.out.println(e);
-			}
-			finally {
-				if( fr != null )
-		        fr.close();
-			}
-			return new String(thechars);
-
-    } // readAsciiFile
-    
-    public static void main(String args[]) throws Exception
-    {        	    	
-    	SendJMSMessage sm = new SendJMSMessage();
-    	sm.setupConnection();
-    	String fileContent = sm.readAsciiFile("SampleOrder.xml");
-    	System.out.println("---------------------------------------------");
-    	System.out.println(fileContent);
-    	System.out.println("---------------------------------------------");
-    	sm.sendAMessage(fileContent); 
-    	sm.stop();
-    	
-    }
-    
-}
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/SendJMSMessage.java (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/quickstart/test/SendJMSMessage.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/SendJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2POJO/src/org/jboss/soa/esb/samples/quickstart/transformxml2pojo/test/SendJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.transformxml2pojo.test;
+
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+import javax.jms.JMSException;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueSession;
+import javax.jms.QueueSender;
+import javax.jms.ObjectMessage;
+
+import java.io.File;
+import java.io.FileReader;
+import java.io.IOException;
+
+public class SendJMSMessage {
+    QueueConnection conn;
+    QueueSession session;
+    Queue que;
+    
+    
+    public void setupConnection() throws JMSException, NamingException
+    {
+    	InitialContext iniCtx = new InitialContext();
+    	Object tmp = iniCtx.lookup("ConnectionFactory");
+    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+    	conn = qcf.createQueueConnection();
+    	que = (Queue) iniCtx.lookup("queue/quickstart_transform_pojo_gw");
+    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+    	conn.start();
+    	System.out.println("Connection Started");
+    }
+    
+    public void stop() throws JMSException 
+    { 
+        conn.stop();
+        session.close();
+        conn.close();
+    }
+    
+    public void sendAMessage(String msg) throws JMSException {
+    	
+        QueueSender send = session.createSender(que);        
+        ObjectMessage tm = session.createObjectMessage(msg);        
+        send.send(tm);        
+        send.close();
+    }
+    public String readAsciiFile(String fileName) throws IOException {
+		  FileReader fr = null;
+		  char[] thechars = null;
+
+		  try {
+			  File thefile = new File( fileName );
+			  fr = new FileReader( thefile );
+			  int size = (int) thefile.length();
+			  thechars = new char[size];
+		
+			  int count, index = 0;
+		
+			  // 	read in the bytes from the input stream
+			  while( ( count = fr.read( thechars, index, size ) ) > 0 ) {
+				  size -= count;
+				  index += count;
+			  }
+			} catch(Exception e) {	
+				System.out.println(e);
+			}
+			finally {
+				if( fr != null )
+		        fr.close();
+			}
+			return new String(thechars);
+
+    } // readAsciiFile
+    
+    public static void main(String args[]) throws Exception
+    {        	    	
+    	SendJMSMessage sm = new SendJMSMessage();
+    	sm.setupConnection();
+    	String fileContent = sm.readAsciiFile("SampleOrder.xml");
+    	System.out.println("---------------------------------------------");
+    	System.out.println(fileContent);
+    	System.out.println("---------------------------------------------");
+    	sm.sendAMessage(fileContent); 
+    	sm.stop();
+    	
+    }
+    
+}
\ 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-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/build.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -16,7 +16,7 @@
 	<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">
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.transformxml2xmldatemanipulation.test.SendJMSMessage" failonerror="true">
 			<arg value="SampleOrder.xml" />
 			<classpath refid="exec-classpath" />
 		</java>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/smooks-res.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/smooks-res.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/smooks-res.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -9,7 +9,7 @@
 	<smooks-resource selector="Order" useragent="from-type:text/xml:messageAtA AND from:A AND to-type:text/xml:messageAtB AND to:B" path="org.milyn.javabean.ProcessingPhaseBeanPopulator" >
 		<param name="RESERVED:RESOURCE_NAME_PARAM"><![CDATA[JavaBean Create - Processing Phase]]></param>
 		<param name="beanId"><![CDATA[orderDate]]></param>
-		<param name="beanClass"><![CDATA[quickstart.helloworld.test.OrderDate]]></param>
+		<param name="beanClass"><![CDATA[org.jboss.soa.esb.samples.quickstart.transformxml2xmldatemanipulation.test.OrderDate]]></param>
 		<param name="addToList"><![CDATA[false]]></param>
 
 	</smooks-resource>

Copied: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/quickstart/helloworld/test)

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/OrderDate.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/quickstart/helloworld/test/OrderDate.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/OrderDate.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,79 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated 
- * by the @authors tag. All rights reserved. 
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
- * MA  02110-1301, USA.
- * 
- * (C) 2005-2006,
- * @author JBoss Inc.
- */
-
-package quickstart.helloworld.test;
-
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-
-/**
- * Sample bean for orderDate manipulation Using Java.  This type of thing is a
- * real pain in XSLT!!
- * 
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
-public class OrderDate {
-	
-	private Date orderDate;
-	
-	/**
-	 * Formatter for decoding the date from the message.
-	 */
-	private static SimpleDateFormat dateDecodeFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy");
-	
-	/**
-	 * Formatters for encoding the date in the transformation.
-	 */
-	private static SimpleDateFormat dayFormat = new SimpleDateFormat("dd");
-	private static SimpleDateFormat timeFormat = new SimpleDateFormat("HH:mm");
-	private static SimpleDateFormat monthFormat = new SimpleDateFormat("MM");
-	private static SimpleDateFormat yearFormat = new SimpleDateFormat("yy");
-	private static SimpleDateFormat timezoneFormat = new SimpleDateFormat("Z");
-	
-	public void setOrderDate(String orderDate) {
-		try {
-			// "Wed Nov 15 13:45:28 EST 2006"
-			// "EEE MMM dd HH:mm:ss z yyyy"
-			this.orderDate = dateDecodeFormat.parse(orderDate);
-		} catch (ParseException e) {
-			e.printStackTrace();
-		}
-	}
-	public Date getOrderDate() {
-		return orderDate;
-	}
-	public String getDay() {
-		return dayFormat.format(orderDate);
-	}
-	public String getTime() {
-		return timeFormat.format(orderDate);
-	}
-	public String getMonth() {
-		return monthFormat.format(orderDate);
-	}
-	public String getYear() {
-		return yearFormat.format(orderDate);
-	}
-	public String getZone() {
-		return timezoneFormat.format(orderDate);
-	}	
-}

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/quickstart/helloworld/test/SendJMSMessage.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/SendJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,93 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated 
- * by the @authors tag. All rights reserved. 
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
- * MA  02110-1301, USA.
- * 
- * (C) 2005-2006,
- * @author JBoss Inc.
- */
-package quickstart.helloworld.test;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-
-import javax.jms.JMSException;
-import javax.jms.ObjectMessage;
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.QueueSender;
-import javax.jms.QueueSession;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-
-import org.milyn.io.StreamUtils;
-
-public class SendJMSMessage {
-    QueueConnection conn;
-    QueueSession session;
-    Queue que;
-    
-    
-    public void setupConnection() throws JMSException, NamingException
-    {
-    	InitialContext iniCtx = new InitialContext();
-    	Object tmp = iniCtx.lookup("ConnectionFactory");
-    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
-    	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_date_manipulation_gw");
-    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-    	conn.start();
-    	System.out.println("Connection Started");
-    }
-    
-    public void stop() throws JMSException 
-    { 
-        conn.stop();
-        session.close();
-        conn.close();
-    }
-    
-    public void sendAMessage(String fileName) throws JMSException, FileNotFoundException, IOException {
-    	
-        QueueSender send = session.createSender(que);
-        ObjectMessage tm;
-        File file = new File(fileName);
-        
-        if(!file.exists()) {
-        	throw new IllegalArgumentException("Input message file [" + file.getAbsolutePath() + "] not found.");
-        }
-        
-        String message = new String(StreamUtils.readStream(new FileInputStream(file)));
-        
-        tm = session.createObjectMessage(message);
-        send.send(tm);        
-        send.close();
-        
-        System.out.println("*** Switch back to the ESB Java console now to see '" + fileName + "' before and after the transformation...");
-    }
-       
-    
-    public static void main(String args[]) throws Exception
-    {        	    	
-    	SendJMSMessage sm = new SendJMSMessage();
-    	sm.setupConnection();
-    	sm.sendAMessage(args[0]); 
-    	sm.stop();
-    }
-    
-}
\ No newline at end of file

Added: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/test/OrderDate.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/test/OrderDate.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/test/OrderDate.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,79 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+
+package org.jboss.soa.esb.samples.quickstart.transformxml2xmldatemanipulation.test;
+
+import java.text.ParseException;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+/**
+ * Sample bean for orderDate manipulation Using Java.  This type of thing is a
+ * real pain in XSLT!!
+ * 
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class OrderDate {
+	
+	private Date orderDate;
+	
+	/**
+	 * Formatter for decoding the date from the message.
+	 */
+	private static SimpleDateFormat dateDecodeFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy");
+	
+	/**
+	 * Formatters for encoding the date in the transformation.
+	 */
+	private static SimpleDateFormat dayFormat = new SimpleDateFormat("dd");
+	private static SimpleDateFormat timeFormat = new SimpleDateFormat("HH:mm");
+	private static SimpleDateFormat monthFormat = new SimpleDateFormat("MM");
+	private static SimpleDateFormat yearFormat = new SimpleDateFormat("yy");
+	private static SimpleDateFormat timezoneFormat = new SimpleDateFormat("Z");
+	
+	public void setOrderDate(String orderDate) {
+		try {
+			// "Wed Nov 15 13:45:28 EST 2006"
+			// "EEE MMM dd HH:mm:ss z yyyy"
+			this.orderDate = dateDecodeFormat.parse(orderDate);
+		} catch (ParseException e) {
+			e.printStackTrace();
+		}
+	}
+	public Date getOrderDate() {
+		return orderDate;
+	}
+	public String getDay() {
+		return dayFormat.format(orderDate);
+	}
+	public String getTime() {
+		return timeFormat.format(orderDate);
+	}
+	public String getMonth() {
+		return monthFormat.format(orderDate);
+	}
+	public String getYear() {
+		return yearFormat.format(orderDate);
+	}
+	public String getZone() {
+		return timezoneFormat.format(orderDate);
+	}	
+}

Added: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/test/SendJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_date_manipulation/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmldatemanipulation/test/SendJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.transformxml2xmldatemanipulation.test;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+
+import javax.jms.JMSException;
+import javax.jms.ObjectMessage;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueSender;
+import javax.jms.QueueSession;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+import org.milyn.io.StreamUtils;
+
+public class SendJMSMessage {
+    QueueConnection conn;
+    QueueSession session;
+    Queue que;
+    
+    
+    public void setupConnection() throws JMSException, NamingException
+    {
+    	InitialContext iniCtx = new InitialContext();
+    	Object tmp = iniCtx.lookup("ConnectionFactory");
+    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+    	conn = qcf.createQueueConnection();
+    	que = (Queue) iniCtx.lookup("queue/quickstart_date_manipulation_gw");
+    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+    	conn.start();
+    	System.out.println("Connection Started");
+    }
+    
+    public void stop() throws JMSException 
+    { 
+        conn.stop();
+        session.close();
+        conn.close();
+    }
+    
+    public void sendAMessage(String fileName) throws JMSException, FileNotFoundException, IOException {
+    	
+        QueueSender send = session.createSender(que);
+        ObjectMessage tm;
+        File file = new File(fileName);
+        
+        if(!file.exists()) {
+        	throw new IllegalArgumentException("Input message file [" + file.getAbsolutePath() + "] not found.");
+        }
+        
+        String message = new String(StreamUtils.readStream(new FileInputStream(file)));
+        
+        tm = session.createObjectMessage(message);
+        send.send(tm);        
+        send.close();
+        
+        System.out.println("*** Switch back to the ESB Java console now to see '" + fileName + "' before and after the transformation...");
+    }
+       
+    
+    public static void main(String args[]) throws Exception
+    {        	    	
+    	SendJMSMessage sm = new SendJMSMessage();
+    	sm.setupConnection();
+    	sm.sendAMessage(args[0]); 
+    	sm.stop();
+    }
+    
+}
\ 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-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/build.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -15,7 +15,7 @@
 	<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">
+		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.transformxml2xmlsimple.test.SendJMSMessage" failonerror="true">
 			<arg value="SampleOrder.xml" />
 			<classpath refid="exec-classpath" />
 		</java>

Copied: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmlsimple (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/quickstart/helloworld/test)

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmlsimple/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/quickstart/helloworld/test/SendJMSMessage.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/transform_XML2XML_simple/src/org/jboss/soa/esb/samples/quickstart/transformxml2xmlsimple/SendJMSMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,93 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated 
- * by the @authors tag. All rights reserved. 
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
- * MA  02110-1301, USA.
- * 
- * (C) 2005-2006,
- * @author JBoss Inc.
- */
-package quickstart.helloworld.test;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-
-import javax.jms.JMSException;
-import javax.jms.ObjectMessage;
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.QueueSender;
-import javax.jms.QueueSession;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-
-import org.milyn.io.StreamUtils;
-
-public class SendJMSMessage {
-    QueueConnection conn;
-    QueueSession session;
-    Queue que;
-    
-    
-    public void setupConnection() throws JMSException, NamingException
-    {
-    	InitialContext iniCtx = new InitialContext();
-    	Object tmp = iniCtx.lookup("ConnectionFactory");
-    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
-    	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_transform_simple_gw");
-    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-    	conn.start();
-    	System.out.println("Connection Started");
-    }
-    
-    public void stop() throws JMSException 
-    { 
-        conn.stop();
-        session.close();
-        conn.close();
-    }
-    
-    public void sendAMessage(String fileName) throws JMSException, FileNotFoundException, IOException {
-    	
-        QueueSender send = session.createSender(que);
-        ObjectMessage tm;
-        File file = new File(fileName);
-        
-        if(!file.exists()) {
-        	throw new IllegalArgumentException("Input message file [" + file.getAbsolutePath() + "] not found.");
-        }
-        
-        String message = new String(StreamUtils.readStream(new FileInputStream(file)));
-        
-        tm = session.createObjectMessage(message);
-        send.send(tm);        
-        send.close();
-        
-        System.out.println("*** Switch back to the ESB Java console now to see '" + fileName + "' before and after the transformation...");
-    }
-       
-    
-    public static void main(String args[]) throws Exception
-    {        	    	
-    	SendJMSMessage sm = new SendJMSMessage();
-    	sm.setupConnection();
-    	sm.sendAMessage(args[0]); 
-    	sm.stop();
-    }
-    
-}
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel)

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/OrderManagerService.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/OrderManagerService.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,52 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.esb.quickstarts.bpel;
-
-import com.activebpel.ordermanagement.OrderManager;
-import com.activebpel.ordermanagement.CustomerOrder;
-import com.activebpel.ordermanagement.SalesOrderFault;
-import com.activebpel.ordermanagement.CancelOrder;
-
-import javax.jws.WebService;
-import javax.jws.WebMethod;
-import javax.jws.soap.SOAPBinding;
-import java.rmi.RemoteException;
-
-/**
- * Order Manager Service wrapper webservice.
- *
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
- at WebService(name = "OrderManagerPortType",
-        targetNamespace = "http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager")
- at SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = SOAPBinding.ParameterStyle.BARE)
-public class OrderManagerService implements OrderManager {
-
-    @WebMethod(operationName = "customerOrder")
-    public String createSalesOrder(CustomerOrder customerOrder) throws SalesOrderFault, RemoteException {
-        return "1234";
-    }
-
-    @WebMethod(operationName = "cancelOrder")
-    public boolean cancelOrder(CancelOrder cancelOrder) throws RemoteException {
-        
-        return true;
-    }
-}

Copied: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/OrderManagerService.java (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/OrderManagerService.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/OrderManagerService.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.bpel;
+
+import com.activebpel.ordermanagement.OrderManager;
+import com.activebpel.ordermanagement.CustomerOrder;
+import com.activebpel.ordermanagement.SalesOrderFault;
+import com.activebpel.ordermanagement.CancelOrder;
+
+import javax.jws.WebService;
+import javax.jws.WebMethod;
+import javax.jws.soap.SOAPBinding;
+import java.rmi.RemoteException;
+
+/**
+ * Order Manager Service wrapper webservice.
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+ at WebService(name = "OrderManagerPortType",
+        targetNamespace = "http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager")
+ at SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public class OrderManagerService implements OrderManager {
+
+    @WebMethod(operationName = "customerOrder")
+    public String createSalesOrder(CustomerOrder customerOrder) throws SalesOrderFault, RemoteException {
+        return "1234";
+    }
+
+    @WebMethod(operationName = "cancelOrder")
+    public boolean cancelOrder(CancelOrder cancelOrder) throws RemoteException {
+        
+        return true;
+    }
+}

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/ShipperService.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/ShipperService.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/ShipperService.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,49 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- *
- * (C) 2005-2006, JBoss Inc.
- */
-package org.jboss.esb.quickstarts.bpel;
-
-import com.activebpel.shipping.Shipping;
-import com.activebpel.shipping.ShippingResponse;
-import com.activebpel.shipping.ShippingRequest;
-
-import javax.jws.WebService;
-import javax.jws.WebMethod;
-import javax.jws.soap.SOAPBinding;
-import java.rmi.RemoteException;
-
-/**
- * Shipper Service wrapper webservice.
- *
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- */
- at WebService(name = "ShippingPortType",
-        targetNamespace = "http://org.jboss.esb/quickstarts/bpel/ABI_Shipping")
- at SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = SOAPBinding.ParameterStyle.BARE)
-public class ShipperService implements Shipping {
-
-    @WebMethod(operationName = "shippingRequest")
-    public ShippingResponse shipOrder(ShippingRequest shippingRequest) throws RemoteException {
-        ShippingResponse response = new ShippingResponse();
-
-        response.setOrderShipped(true);
-
-        return response;
-    }
-}

Copied: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/ShipperService.java (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/ShipperService.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/ShipperService.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/samples/quickstart/bpel/ShipperService.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,49 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.bpel;
+
+import com.activebpel.shipping.Shipping;
+import com.activebpel.shipping.ShippingResponse;
+import com.activebpel.shipping.ShippingRequest;
+
+import javax.jws.WebService;
+import javax.jws.WebMethod;
+import javax.jws.soap.SOAPBinding;
+import java.rmi.RemoteException;
+
+/**
+ * Shipper Service wrapper webservice.
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+ at WebService(name = "ShippingPortType",
+        targetNamespace = "http://org.jboss.esb/quickstarts/bpel/ABI_Shipping")
+ at SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public class ShipperService implements Shipping {
+
+    @WebMethod(operationName = "shippingRequest")
+    public ShippingResponse shipOrder(ShippingRequest shippingRequest) throws RemoteException {
+        ShippingResponse response = new ShippingResponse();
+
+        response.setOrderShipped(true);
+
+        return response;
+    }
+}

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-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/build.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -35,7 +35,7 @@
 
     <target name="saygoodbye_over_jms" depends="compile">
         <echo>Invoking a JBossWS Endpoint over JMS (via JBoss ESB).</echo>
-        <java fork="yes" classname="quickstart.webservice_jbossws_adapter_01.test.SendMessage" failonerror="true">
+        <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservicejbosswsadapter01.test.SendMessage" failonerror="true">
             <arg value="jms" />
             <classpath refid="exec-classpath" />
         </java>
@@ -43,7 +43,7 @@
 
     <target name="saygoodbye_over_http" depends="compile">
         <echo>Invoking a JBossWS Endpoint over HTTP (via JBoss ESB).</echo>
-        <java fork="yes" classname="quickstart.webservice_jbossws_adapter_01.test.SendMessage" failonerror="true">
+        <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservicejbosswsadapter01.test.SendMessage" failonerror="true">
             <arg value="http" />
             <arg value="8765" />
             <classpath refid="exec-classpath" />
@@ -52,7 +52,7 @@
 
     <target name="saygoodbye_over_socket" depends="compile">
         <echo>Invoking a JBossWS Endpoint over a raw socket connection (via JBoss ESB).</echo>
-        <java fork="yes" classname="quickstart.webservice_jbossws_adapter_01.test.SendMessage" failonerror="true">
+        <java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.webservicejbosswsadapter01.test.SendMessage" failonerror="true">
             <arg value="socket" />
             <arg value="8888" />
             <classpath refid="exec-classpath" />

Copied: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/quickstart/webservice_jbossws_adapter_01/test)

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/SendMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/quickstart/webservice_jbossws_adapter_01/test/SendMessage.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/SendMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,116 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and others contributors as indicated 
- * by the @authors tag. All rights reserved. 
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
- * MA  02110-1301, USA.
- * 
- * (C) 2005-2006,
- * @author JBoss Inc.
- */
-package quickstart.webservice_jbossws_adapter_01.test;
-
-import org.jboss.internal.soa.esb.util.StreamUtils;
-import org.jboss.remoting.InvokerLocator;
-import org.jboss.remoting.Client;
-
-import javax.jms.JMSException;
-import javax.jms.ObjectMessage;
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.QueueSender;
-import javax.jms.QueueSession;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-import java.net.InetAddress;
-
-public class SendMessage {
-    QueueConnection conn;
-    QueueSession session;
-    Queue que;
-
-    public void sendMessageOverJMS(String message) throws JMSException, NamingException {
-        QueueSender sender = null;
-
-    	setupJMSConnection();
-        try {
-            ObjectMessage tm = null;
-
-            sender = session.createSender(que);
-            tm = session.createObjectMessage(message);
-            sender.send(tm);
-        } finally {
-            if(sender != null) {
-                sender.close();
-            }
-            cleanupJMSConnection();
-        }
-    }
-
-    private void sendMessageToJBRListener(String protocol, int port, String message) throws Throwable {
-        String locatorURI = protocol + "://localhost:" + port;
-        InvokerLocator locator = new InvokerLocator(locatorURI);
-        System.out.println("Calling JBoss Remoting Listener using locator URI: " + locatorURI);
-
-        Client remotingClient = null;
-        try {
-            remotingClient = new Client(locator);
-            remotingClient.connect();
-
-            // Deliver the message to the listener...
-            Object response = remotingClient.invoke(message);
-            System.out.println("Response from JBoss Remoting Listener '" + locatorURI + "' was '" + response + "'.");
-        } finally {
-            if(remotingClient != null) {
-                remotingClient.disconnect();
-            }
-        }
-    }
-
-    public void setupJMSConnection() throws JMSException, NamingException
-    {
-    	InitialContext iniCtx = new InitialContext();
-    	Object tmp = iniCtx.lookup("ConnectionFactory");
-    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
-    	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_webservice_jbossws_adapter_01_gw");
-    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
-    	conn.start();
-    }
-
-    public void cleanupJMSConnection() throws JMSException
-    {
-        conn.stop();
-        session.close();
-        conn.close();
-    }
-
-    private static String getMessage(String messageNum) {
-        String msg = new String(StreamUtils.readStream(SendMessage.class.getResourceAsStream("soap_message_" + messageNum + ".xml")));
-        return msg;
-    }
-
-    public static void main(String args[]) throws Throwable
-    {        	    	
-    	SendMessage sm = new SendMessage();
-        String msg = getMessage("01");
-
-        String protocol = args[0];
-        if(protocol.equals("jms")) {
-            sm.sendMessageOverJMS(msg);
-        } else {
-            sm.sendMessageToJBRListener(protocol, Integer.parseInt(args[1]), msg);
-        }
-    }
-}
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/SendMessage.java (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/quickstart/webservice_jbossws_adapter_01/test/SendMessage.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/SendMessage.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/SendMessage.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,116 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservicejbosswsadapter01.test;
+
+import org.jboss.internal.soa.esb.util.StreamUtils;
+import org.jboss.remoting.InvokerLocator;
+import org.jboss.remoting.Client;
+
+import javax.jms.JMSException;
+import javax.jms.ObjectMessage;
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueSender;
+import javax.jms.QueueSession;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+import java.net.InetAddress;
+
+public class SendMessage {
+    QueueConnection conn;
+    QueueSession session;
+    Queue que;
+
+    public void sendMessageOverJMS(String message) throws JMSException, NamingException {
+        QueueSender sender = null;
+
+    	setupJMSConnection();
+        try {
+            ObjectMessage tm = null;
+
+            sender = session.createSender(que);
+            tm = session.createObjectMessage(message);
+            sender.send(tm);
+        } finally {
+            if(sender != null) {
+                sender.close();
+            }
+            cleanupJMSConnection();
+        }
+    }
+
+    private void sendMessageToJBRListener(String protocol, int port, String message) throws Throwable {
+        String locatorURI = protocol + "://localhost:" + port;
+        InvokerLocator locator = new InvokerLocator(locatorURI);
+        System.out.println("Calling JBoss Remoting Listener using locator URI: " + locatorURI);
+
+        Client remotingClient = null;
+        try {
+            remotingClient = new Client(locator);
+            remotingClient.connect();
+
+            // Deliver the message to the listener...
+            Object response = remotingClient.invoke(message);
+            System.out.println("Response from JBoss Remoting Listener '" + locatorURI + "' was '" + response + "'.");
+        } finally {
+            if(remotingClient != null) {
+                remotingClient.disconnect();
+            }
+        }
+    }
+
+    public void setupJMSConnection() throws JMSException, NamingException
+    {
+    	InitialContext iniCtx = new InitialContext();
+    	Object tmp = iniCtx.lookup("ConnectionFactory");
+    	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+    	conn = qcf.createQueueConnection();
+    	que = (Queue) iniCtx.lookup("queue/quickstart_webservice_jbossws_adapter_01_gw");
+    	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+    	conn.start();
+    }
+
+    public void cleanupJMSConnection() throws JMSException
+    {
+        conn.stop();
+        session.close();
+        conn.close();
+    }
+
+    private static String getMessage(String messageNum) {
+        String msg = new String(StreamUtils.readStream(SendMessage.class.getResourceAsStream("soap_message_" + messageNum + ".xml")));
+        return msg;
+    }
+
+    public static void main(String args[]) throws Throwable
+    {        	    	
+    	SendMessage sm = new SendMessage();
+        String msg = getMessage("01");
+
+        String protocol = args[0];
+        if(protocol.equals("jms")) {
+            sm.sendMessageOverJMS(msg);
+        } else {
+            sm.sendMessageToJBRListener(protocol, Integer.parseInt(args[1]), msg);
+        }
+    }
+}
\ No newline at end of file

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_01.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/quickstart/webservice_jbossws_adapter_01/test/soap_message_01.xml	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_01.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,8 +0,0 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:good="http://webservice_war1/goodbyeworld">
-   <soapenv:Header/>
-   <soapenv:Body>
-      <good:sayGoodbye>
-         <String_1>Goodbye!!</String_1>
-      </good:sayGoodbye>
-   </soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_01.xml (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/quickstart/webservice_jbossws_adapter_01/test/soap_message_01.xml)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_01.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_01.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,8 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:good="http://webservice_war1/goodbyeworld">
+   <soapenv:Header/>
+   <soapenv:Body>
+      <good:sayGoodbye>
+         <String_1>Goodbye!!</String_1>
+      </good:sayGoodbye>
+   </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_02.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/quickstart/webservice_jbossws_adapter_01/test/soap_message_02.xml	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_02.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,8 +0,0 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:good="http://webservice_war1/goodbyeworld">
-   <soapenv:Header/>
-   <soapenv:Body>
-      <good:sayGoodbyeWithoutResponse>
-         <String_1>Goodbye!!</String_1>
-      </good:sayGoodbyeWithoutResponse>
-   </soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_02.xml (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/quickstart/webservice_jbossws_adapter_01/test/soap_message_02.xml)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_02.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/test/soap_message_02.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,8 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:good="http://webservice_war1/goodbyeworld">
+   <soapenv:Header/>
+   <soapenv:Body>
+      <good:sayGoodbyeWithoutResponse>
+         <String_1>Goodbye!!</String_1>
+      </good:sayGoodbyeWithoutResponse>
+   </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/webservice (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/quickstart/webservice_jbossws_adapter_01/webservice)

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/webservice/GoodbyeWorldWS.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/quickstart/webservice_jbossws_adapter_01/webservice/GoodbyeWorldWS.java	2007-04-27 19:24:49 UTC (rev 11423)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/webservice/GoodbyeWorldWS.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -1,36 +0,0 @@
-package quickstart.webservice_jbossws_adapter_01.webservice;
-
-import javax.jws.WebService;
-import javax.jws.WebMethod;
-import javax.jws.soap.SOAPBinding;
-
-import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.actions.soap.JBossWSAdapter;
-
-/**
- * @author
- */
- at WebService(name = "GoodbyeWorldWS", targetNamespace="http://webservice_war1/goodbyeworld")
- at SOAPBinding(style = SOAPBinding.Style.RPC)
-public class GoodbyeWorldWS {
-
-    @WebMethod
-    public String sayGoodbye(String message) {
-
-        Message esbMessage = JBossWSAdapter.getMessage();
-        if(esbMessage != null) {
-            System.out.println("**** Message set on ThreadLocal");
-        }
-
-        return "... Ah Goodbye then!!!!";
-    }
-
-    @WebMethod
-    public void sayGoodbyeWithoutResponse(String message) {
-
-        Message esbMessage = JBossWSAdapter.getMessage();
-        if(esbMessage != null) {
-            System.out.println("**** Message set on ThreadLocal");
-        }
-    }
-}

Copied: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/webservice/GoodbyeWorldWS.java (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/quickstart/webservice_jbossws_adapter_01/webservice/GoodbyeWorldWS.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/webservice/GoodbyeWorldWS.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/src/org/jboss/soa/esb/samples/quickstart/webservicejbosswsadapter01/webservice/GoodbyeWorldWS.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,36 @@
+package org.jboss.soa.esb.samples.quickstart.webservicejbosswsadapter01.webservice;
+
+import javax.jws.WebService;
+import javax.jws.WebMethod;
+import javax.jws.soap.SOAPBinding;
+
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.actions.soap.JBossWSAdapter;
+
+/**
+ * @author
+ */
+ at WebService(name = "GoodbyeWorldWS", targetNamespace="http://webservice_war1/goodbyeworld")
+ at SOAPBinding(style = SOAPBinding.Style.RPC)
+public class GoodbyeWorldWS {
+
+    @WebMethod
+    public String sayGoodbye(String message) {
+
+        Message esbMessage = JBossWSAdapter.getMessage();
+        if(esbMessage != null) {
+            System.out.println("**** Message set on ThreadLocal");
+        }
+
+        return "... Ah Goodbye then!!!!";
+    }
+
+    @WebMethod
+    public void sayGoodbyeWithoutResponse(String message) {
+
+        Message esbMessage = JBossWSAdapter.getMessage();
+        if(esbMessage != null) {
+            System.out.println("**** Message set on ThreadLocal");
+        }
+    }
+}

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/war/resources/WEB-INF/web.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/war/resources/WEB-INF/web.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_jbossws_adapter_01/war/resources/WEB-INF/web.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -7,7 +7,7 @@
 
     <servlet>
         <servlet-name>GoodbyeWorldWS</servlet-name>
-        <servlet-class>quickstart.webservice_jbossws_adapter_01.webservice.GoodbyeWorldWS</servlet-class>
+        <servlet-class>org.jboss.soa.esb.samples.quickstart.webservicejbosswsadapter01.webservice.GoodbyeWorldWS</servlet-class>
     </servlet>
 
     <servlet-mapping>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/jboss-esb.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/jboss-esb.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -29,17 +29,17 @@
             </listeners>
             <actions>
                <action name="displayAction" 
-               		class="quickstart.webservice_war1.MyAction" 
+               		class="org.jboss.soa.esb.samples.quickstart.webservicewar1.MyAction" 
                		process="displayMessage">
                		<property name="exceptionMethod" value="exceptionHandler"/>
                </action>
   			       <action name="playAction" 
-  			   	    	class="quickstart.webservice_war1.MyAction" 
+  			   	    	class="org.jboss.soa.esb.samples.quickstart.webservicewar1.MyAction" 
   			   		    process="playWithMessage">  	               
                		<property name="exceptionMethod" value="exceptionHandler"/>
   			       </action> 
   			       <action name="displayAction" 
-               		class="quickstart.webservice_war1.MyAction" 
+               		class="org.jboss.soa.esb.samples.quickstart.webservicewar1.MyAction" 
                		process="displayMessage">
                		<property name="exceptionMethod" value="exceptionHandler"/>
                </action> 			       

Copied: labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/MyAction.java (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/quickstart/webservice_war1/MyAction.java)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/MyAction.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/MyAction.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -0,0 +1,82 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated 
+ * by the @authors tag. All rights reserved. 
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors. 
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A 
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA  02110-1301, USA.
+ * 
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.soa.esb.samples.quickstart.webservicewar1;
+
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Body;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.soa.esb.message.format.MessageType;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.addressing.EPR;
+import org.jboss.soa.esb.couriers.Courier;
+import org.jboss.soa.esb.couriers.CourierFactory;
+import org.jboss.soa.esb.couriers.CourierUtil;
+
+public class MyAction extends AbstractActionLifecycle {
+
+    protected ConfigTree _config;
+
+    public MyAction(ConfigTree config) {
+        _config = config;
+    }
+
+    public Message noOperation(Message message) {
+        return message;
+    }
+
+    public Message displayMessage(Message message) throws Exception {
+        logHeader();
+        System.out.println("Body: " + new String(message.getBody().getContents()));
+        logFooter();
+        return message;
+    }
+
+    public Message playWithMessage(Message message) throws Exception {
+        Body msgBody = message.getBody();
+        String contents = new String(msgBody.getContents());
+
+        // Reset the message body contents with the response...
+        msgBody.setContents(("Hello From ESB MyAction: " + contents).getBytes());
+
+        return message;
+    }
+
+    public void exceptionHandler(Message message, Throwable exception) {
+        logHeader();
+        System.out.println("!ERROR!");
+        System.out.println(exception.getMessage());
+        System.out.println("For Message: ");
+        System.out.println(message.getBody().getContents());
+        logFooter();
+    }
+
+    // This makes it easier to read on the console
+    private void logHeader() {
+        System.out.println("\n&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
+    }
+
+    private void logFooter() {
+        System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n");
+    }
+
+
+}
\ No newline at end of file

Copied: labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/test (from rev 11423, labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/src/quickstart/webservice_war1/test)

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

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

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/resources/WEB-INF/web.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/resources/WEB-INF/web.xml	2007-04-29 18:23:20 UTC (rev 11465)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/resources/WEB-INF/web.xml	2007-04-29 18:48:09 UTC (rev 11466)
@@ -4,7 +4,7 @@
 <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">  
   <servlet> 
     <servlet-name>HelloWorldWS</servlet-name>  
-    <servlet-class>quickstart.webservice_war1.webservice.HelloWorldWS</servlet-class>  
+    <servlet-class>org.jboss.soa.esb.samples.quickstart.webservicewar1.webservice.HelloWorldWS</servlet-class>  
   </servlet>  
   
   <servlet-mapping> 

Copied: labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/webservice (from rev 11439, labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/quickstart/webservice_war1/webservice)

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/webservice/HelloWorldWS.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/quickstart/webservice_war1/webservice/HelloWorldWS.java	2007-04-29 12:16:57 UTC (rev 11439)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_war1/war/src/org/jboss/soa/esb/samples/quickstart/webservicewar1/webservice/HelloWorldWS.java	2007-04-29 18:48:09 UTC (rev 11466)
@@ -18,7 +18,7 @@
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
-package quickstart.webservice_war1.webservice;
+package org.jboss.soa.esb.samples.quickstart.webservicewar1.webservice;
 
 // For setting up the basic WS
 




More information about the jboss-svn-commits mailing list