[jboss-svn-commits] JBL Code SVN: r12496 - in labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts: conf/jms and 7 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Jun 12 11:25:16 EDT 2007


Author: ldimaggi at redhat.com
Date: 2007-06-12 11:25:16 -0400 (Tue, 12 Jun 2007)
New Revision: 12496

Added:
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/SampleOrder.xml
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/build.xml
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/deployment.xml
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbm-queue-service-scoped.xml
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbm-queue-service.xml
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbmq-queue-service.xml
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jboss-esb.xml
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbossesb-gateway.xml
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbossesb-listener.xml
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbossesb-properties.xml
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jndi.properties
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/juddi.properties
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/log4j.xml
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/readme.txt
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/ReceiveJMSMessage.java
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendCBRJMSMessage.java
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendJMSMessage.java
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendStaticRouterJMSMessage.java
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendWiretapJMSMessage.java
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/services/
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/services/rules/
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/services/rules/MyESBRules-XPath.drl
Modified:
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/conf/jms/esb-quickstart-jbm-service.xml
   labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/conf/jms/esb-quickstart-jbmq-service.xml
Log:
Initial checkin for wiretap quickstart



Modified: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/conf/jms/esb-quickstart-jbm-service.xml
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/conf/jms/esb-quickstart-jbm-service.xml	2007-06-12 14:45:17 UTC (rev 12495)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/conf/jms/esb-quickstart-jbm-service.xml	2007-06-12 15:25:16 UTC (rev 12496)
@@ -344,4 +344,43 @@
         <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
 		<depends>jboss.messaging:service=PostOffice</depends>
     </mbean>
+
+        <!-- wiretap quickstart -->
+
+    <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_regular_Request"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+    </mbean>
+
+    <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_cbr_Request"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+    </mbean>
+
+    <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_Esb_Request"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+    </mbean>
+
+    <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_wire_GW_Request"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+    </mbean>
+
+    <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_wire_out_Request"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+    </mbean>
+
+    <mbean code="org.jboss.jms.server.destination.QueueService"
+      name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_static_router_Request"
+      xmbean-dd="xmdesc/Queue-xmbean.xml">
+      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+    </mbean>
+
 </server>

Modified: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/conf/jms/esb-quickstart-jbmq-service.xml
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/conf/jms/esb-quickstart-jbmq-service.xml	2007-06-12 14:45:17 UTC (rev 12495)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/conf/jms/esb-quickstart-jbmq-service.xml	2007-06-12 15:25:16 UTC (rev 12496)
@@ -302,4 +302,37 @@
 		jboss.mq:service=DestinationManager
 	  </depends>
 	</mbean>
+
+    <!-- wiretap quickstart -->
+
+    <mbean code="org.jboss.mq.server.jmx.Queue"
+      name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_regular_Request">
+      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    </mbean>
+
+    <mbean code="org.jboss.mq.server.jmx.Queue"
+      name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_Esb_Request">
+      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    </mbean>
+
+    <mbean code="org.jboss.mq.server.jmx.Queue"
+      name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_cbr_Request">
+      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    </mbean>
+
+    <mbean code="org.jboss.mq.server.jmx.Queue"
+      name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_wire_GW_Request">
+      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    </mbean>
+
+    <mbean code="org.jboss.mq.server.jmx.Queue"
+      name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_wire_out_Request">
+      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    </mbean>
+
+    <mbean code="org.jboss.mq.server.jmx.Queue"
+      name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_static_router_Request">
+      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+    </mbean>
+
 </server>

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/SampleOrder.xml
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/SampleOrder.xml	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/SampleOrder.xml	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,3 @@
+<Order sampleData="CBR wiretap test" testDate="20070518" routeToFollow="both">
+	<Customer userName="user1" firstName="Harry" lastName="Fletcher" state="SD"/>
+</Order>

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/build.xml
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/build.xml	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/build.xml	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,80 @@
+<project name="Quickstart_wiretap" default="runtest" basedir=".">
+	
+    <description> 
+            ${ant.project.name}
+            ${line.separator}
+    </description>
+
+    <!-- Import the base Ant build script... -->
+    <import file="../conf/base-build.xml"/>
+
+    <!-- Rules for CBR router -->
+    <property name="rules.jar.name" value="${ant.project.name}_rules.jar"/>
+    <property name="myrules.xpath.drl" value="MyESBRules-XPath.drl"/>
+    <property name="additional.deploys" value=" build/classes/${myrules.drl}, build/classes/${myrules.xpath.drl}" />
+
+    <target name="quickstart-specific-deploys">
+        <echo message="jar rules to ${rules.jar.name}" />
+        <jar destfile="${rules.jar.name}" basedir="${basedir}/src/services/rules" includes="*.*"/>
+        <copy 
+            todir="build/lib" 
+            file="${rules.jar.name}"  />
+    </target>
+
+    <target name="config">
+        <copy todir="${basedir}/build/classes" >
+            <fileset dir="src/services/rules">
+                <include name="${myrules.xpath.drl}"/>
+            </fileset>
+        </copy>
+    </target>
+
+    <target name="runtest-cbr" depends="compile">
+        <echo>Runs Content Based Router Test</echo>
+        <java fork="yes" classname="quickstart.wiretap.test.SendCBRJMSMessage" failonerror="true">
+            <arg value="ESB wiretap pattern quickstart - content based router test"/>
+            <classpath refid="exec-classpath"/>
+        </java>
+    </target>
+
+    <target name="runtest" depends="compile">
+        <echo>Runs JMS Sender - to destination channel</echo>
+        <java fork="yes" classname="quickstart.wiretap.test.SendJMSMessage" failonerror="true">
+            <arg value="ESB wiretap pattern quickstart - message to destination channel"/>
+            <classpath refid="exec-classpath"/>
+        </java>
+    </target>  
+
+    <target name="wiretap" depends="compile">
+        <echo>Runs JMS Sender - to wiretap channel</echo>
+        <java fork="yes" classname="quickstart.wiretap.test.SendWiretapJMSMessage" failonerror="true">
+            <arg value="ESB wiretap pattern quickstart - message to wiretap channel"/>
+            <classpath refid="exec-classpath"/>
+        </java>
+    </target>
+
+    <target name="static-router" depends="compile">
+        <echo>Runs Static-Router Test</echo>
+        <java fork="yes" classname="quickstart.wiretap.test.SendStaticRouterJMSMessage" failonerror="true">
+            <arg value="ESB wiretap pattern quickstart - static router test"/>
+            <classpath refid="exec-classpath"/>
+        </java>
+    </target>
+
+    <target name="receive-wiretap" depends="compile">
+	        <echo>Runs Test Wiretap message receiver</echo>
+	        <java fork="yes" classname="quickstart.wiretap.test.ReceiveJMSMessage" failonerror="true">
+	            <arg value="queue/qswiretap_wire_out_Request"/>  
+	            <classpath refid="exec-classpath"/>
+	        </java>
+	    </target>	
+
+    <target name="receive-destination" depends="compile">
+	        <echo>Runs Test Wiretap destination message receiver</echo>
+	        <java fork="yes" classname="quickstart.wiretap.test.ReceiveJMSMessage" failonerror="true">
+	            <arg value="queue/qswiretap_regular_Request"/>  
+	            <classpath refid="exec-classpath"/>
+	        </java>
+	    </target>	
+	
+</project>

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/deployment.xml
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/deployment.xml	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/deployment.xml	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,4 @@
+<jbossesb-deployment>
+  <depends>jboss.esb:deployment=jbrules.esb</depends>
+</jbossesb-deployment>
+

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbm-queue-service-scoped.xml
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbm-queue-service-scoped.xml	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbm-queue-service-scoped.xml	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+  
+  <loader-repository>jboss.messaging:loader=ScopedLoaderRepository
+    <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
+  </loader-repository>
+  
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_regular_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_cbr_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_Esb_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_wire_GW_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_wire_out_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_static_router_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+ 
+</server>

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbm-queue-service.xml	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbm-queue-service.xml	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_regular_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_cbr_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_Esb_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_wire_GW_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_wire_out_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_static_router_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+
+</server>

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbmq-queue-service.xml
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbmq-queue-service.xml	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbmq-queue-service.xml	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_regular_Request">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_Esb_Request">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_cbr_Request">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_wire_GW_Request">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_wire_out_Request">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+
+  <mbean code="org.jboss.mq.server.jmx.Queue"
+    name="jboss.esb.quickstart.destination:service=Queue,name=qswiretap_static_router_Request">
+    <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+  </mbean>
+
+</server>

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jboss-esb.xml
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jboss-esb.xml	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jboss-esb.xml	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,127 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
+
+    <providers>
+        <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+      
+           <jms-bus busid="wiretapCBRChannel">
+                <jms-message-filter dest-type="QUEUE" dest-name="queue/qswiretap_cbr_Request" />
+            </jms-bus>
+                
+            <jms-bus busid="wiretapChannel1">
+                <jms-message-filter dest-type="QUEUE" dest-name="queue/B" />
+            </jms-bus>   
+
+            <jms-bus busid="wiretapChannel2">
+                <jms-message-filter dest-type="QUEUE" dest-name="queue/C" />
+            </jms-bus>
+
+           <jms-bus busid="wiretapChannel3">
+                <jms-message-filter dest-type="QUEUE" dest-name="queue/D" />
+            </jms-bus>
+
+            <jms-bus busid="wiretapGwChannel">
+                <jms-message-filter dest-type="QUEUE" dest-name="queue/qswiretap_wire_GW_Request" />
+            </jms-bus>          
+
+            <jms-bus busid="wiretapStaticRouterChannel">
+                <jms-message-filter dest-type="QUEUE" dest-name="queue/qswiretap_static_router_Request" />
+            </jms-bus>
+
+            <jms-bus busid="wiretapEsbChannel">
+                <jms-message-filter dest-type="QUEUE" dest-name="queue/qswiretap_Esb_Request" />
+            </jms-bus>
+            
+            <!-- Note that only queues that are listened to (input) require jms-provider 
+                 definitions. jms-provider definitions are not required for these queues as 
+                 the wiretap quickstart only notifies the queues (output):                 
+                 queue/qswiretap_wire_out_Request, queue/qswiretap_regular_Request -->
+           
+          </jms-provider>
+      </providers>
+      
+      <services>
+
+        <!-- CBR Service -->
+        <service category="wiretapCBRServices" name="FirstWiretapCBRServiceESB" description="ESB Listener" >
+                <listeners>
+                    <jms-listener name="the-CBR-gateway" busidref="wiretapCBRChannel" maxThreads="1" is-gateway="true" />
+                    <jms-listener name="XPathContentBasedRouter" busidref="wiretapEsbChannel" maxThreads="1" />  
+                </listeners>
+                <actions>
+                    <action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="ContentBasedRouter">
+                       <property name="ruleSet" value="MyESBRules-XPath.drl"/>
+                        <property name="ruleLanguage" value="XPathLanguage.dsl"/>
+                        <property name="ruleReload" value="true"/>
+                        <property name="destinations">
+                            <route-to destination-name="regular" service-category="wiretapCategory1" service-name="regularService"/>
+                            <route-to destination-name="wiretap"  service-category="wiretapCategory2"  service-name="wiretapService"/>
+                       </property>
+                    </action>
+                </actions>
+        </service>
+
+        <service category="wiretapCategory1" name="regularService" description="Static wiretap - regular service">
+            <listeners>
+                 <jms-listener name="native1" busidref="wiretapChannel1" maxThreads="1" /> 
+            </listeners>
+            <actions>
+            
+            <action name="notificationAction" class="org.jboss.soa.esb.actions.Notifier">
+                    <property name="okMethod" value="notifyOK" />
+                    <property name="notification-details">
+                        <NotificationList type="OK">
+                            <target class="NotifyConsole" />
+                            <target class="NotifyQueues">
+                                <queue jndiName="queue/qswiretap_regular_Request">
+                                    <messageProp name="quickstart" value="regular_output" />
+                               </queue>
+                           </target>
+                       </NotificationList>
+                    </property>
+                </action>                                       
+            </actions>   
+        </service>
+
+        <service category="wiretapCategory2" name="wiretapService" description="Static wiretap - wiretap service">
+            <listeners>
+                 <jms-listener name="wiretapJMS-Gateway" busidref="wiretapGwChannel" maxThreads="1" is-gateway="true" />  
+                 <jms-listener name="native2" busidref="wiretapChannel2" maxThreads="1" />       
+           </listeners>  
+            <actions>
+
+            <action name="wiretap_notificationAction" class="org.jboss.soa.esb.actions.Notifier">
+                <property name="okMethod" value="notifyOK" />
+                <property name="notification-details">
+                    <NotificationList type="OK">
+                        <target class="NotifyConsole" />   
+                        <target class="NotifyQueues">
+                           <queue jndiName="queue/qswiretap_wire_out_Request">
+                                <messageProp name="quickstart" value="wiretap_output" />
+                           </queue>
+                       </target>
+                   </NotificationList>
+                </property>
+            </action>
+                          
+            </actions>
+        </service>
+
+       <service category="wiretapCategory3" name="WiretapStaticListener" description="Static Router">
+            <listeners>
+                <jms-listener name="test-Gateway" busidref="wiretapStaticRouterChannel" maxThreads="1" is-gateway="true" />  
+                 <jms-listener name="native3" busidref="wiretapChannel3" maxThreads="1" />
+            </listeners>
+            <actions>
+               <action name="routeAction"  class="org.jboss.soa.esb.actions.StaticRouter">
+                    <property name="destinations">
+                        <route-to service-category="wiretapCategory2" service-name="wiretapService" /> 
+                        <route-to service-category="wiretapCategory1" service-name="regularService" />  
+                    </property>
+               </action>  
+            </actions>
+        </service>
+
+      </services>
+     
+</jbossesb>

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbossesb-gateway.xml
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbossesb-gateway.xml	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbossesb-gateway.xml	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	NOTE: DO NOT MODIFY
+	This file was auto-generated.
+-->
+<jbossesb-gateways parameterReloadSecs="5">
+<the-CBR-gateway connection-factory="ConnectionFactory" destination-name="queue/qswiretap_cbr_Request" destination-type="queue" gatewayClass="org.jboss.soa.esb.listeners.gateway.JmsGatewayListener" maxThreads="1" service-description="ESB Listener" target-service-category="wiretapCBRServices" target-service-name="FirstWiretapCBRServiceESB"/>
+<wiretapJMS-Gateway connection-factory="ConnectionFactory" destination-name="queue/qswiretap_wire_GW_Request" destination-type="queue" gatewayClass="org.jboss.soa.esb.listeners.gateway.JmsGatewayListener" maxThreads="1" service-description="Static wiretap - wiretap service" target-service-category="wiretapCategory2" target-service-name="wiretapService"/>
+<test-Gateway connection-factory="ConnectionFactory" destination-name="queue/qswiretap_static_router_Request" destination-type="queue" gatewayClass="org.jboss.soa.esb.listeners.gateway.JmsGatewayListener" maxThreads="1" service-description="Static Router" target-service-category="wiretapCategory3" target-service-name="WiretapStaticListener"/>
+</jbossesb-gateways>

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbossesb-listener.xml
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbossesb-listener.xml	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jbossesb-listener.xml	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	NOTE: DO NOT MODIFY
+	This file was auto-generated.
+-->
+<jbossesb-listeners parameterReloadSecs="5">
+<XPathContentBasedRouter listenerClass="org.jboss.soa.esb.listeners.message.MessageAwareListener" maxThreads="1" service-category="wiretapCBRServices" service-description="ESB Listener" service-name="FirstWiretapCBRServiceESB">
+<EPR connection-factory="ConnectionFactory" destination-name="queue/qswiretap_Esb_Request" destination-type="queue" protocol="jms"/>
+<action action="ContentBasedRouter" class="org.jboss.soa.esb.actions.ContentBasedRouter" ruleLanguage="XPathLanguage.dsl" ruleReload="true" ruleSet="MyESBRules-XPath.drl">
+                            <route-to destination-name="regular" service-category="wiretapCategory1" service-name="regularService"/>
+                            <route-to destination-name="wiretap" service-category="wiretapCategory2" service-name="wiretapService"/>
+                       </action>
+</XPathContentBasedRouter>
+<native1 listenerClass="org.jboss.soa.esb.listeners.message.MessageAwareListener" maxThreads="1" service-category="wiretapCategory1" service-description="Static wiretap - regular service" service-name="regularService">
+<EPR connection-factory="ConnectionFactory" destination-name="queue/B" destination-type="queue" protocol="jms"/>
+<action action="notificationAction" class="org.jboss.soa.esb.actions.Notifier" okMethod="notifyOK">
+                        <NotificationList type="OK">
+                            <target class="NotifyConsole"/>
+                            <target class="NotifyQueues">
+                                <queue jndiName="queue/qswiretap_regular_Request">
+                                    <messageProp name="quickstart" value="regular_output"/>
+                               </queue>
+                           </target>
+                       </NotificationList>
+                    </action>
+</native1>
+<native2 listenerClass="org.jboss.soa.esb.listeners.message.MessageAwareListener" maxThreads="1" service-category="wiretapCategory2" service-description="Static wiretap - wiretap service" service-name="wiretapService">
+<EPR connection-factory="ConnectionFactory" destination-name="queue/C" destination-type="queue" protocol="jms"/>
+<action action="wiretap_notificationAction" class="org.jboss.soa.esb.actions.Notifier" okMethod="notifyOK">
+                    <NotificationList type="OK">
+                        <target class="NotifyConsole"/>   
+                        <target class="NotifyQueues">
+                           <queue jndiName="queue/qswiretap_wire_out_Request">
+                                <messageProp name="quickstart" value="wiretap_output"/>
+                           </queue>
+                       </target>
+                   </NotificationList>
+                </action>
+</native2>
+<native3 listenerClass="org.jboss.soa.esb.listeners.message.MessageAwareListener" maxThreads="1" service-category="wiretapCategory3" service-description="Static Router" service-name="WiretapStaticListener">
+<EPR connection-factory="ConnectionFactory" destination-name="queue/D" destination-type="queue" protocol="jms"/>
+<action action="routeAction" class="org.jboss.soa.esb.actions.StaticRouter">
+                        <route-to service-category="wiretapCategory2" service-name="wiretapService"/> 
+                        <route-to service-category="wiretapCategory1" service-name="regularService"/>  
+                    </action>
+</native3>
+</jbossesb-listeners>

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

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jndi.properties
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jndi.properties	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/jndi.properties	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,5 @@
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.provider.url=jnp://localhost:1099
+java.naming.factory.url.pkgs=org.jboss.naming
+java.naming.factory.url.pkgs=org.jnp.interfaces
+

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/juddi.properties
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/juddi.properties	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/juddi.properties	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,69 @@
+# jUDDI Registry Properties (used by RegistryServer)
+# see http://www.juddi.org for more information
+
+# The UDDI Operator Name
+juddi.operatorName = jUDDI.org
+
+# The i18n locale default codes
+juddi.i18n.languageCode = en
+juddi.i18n.countryCode = US
+
+# The UDDI DiscoveryURL Prefix
+juddi.discoveryURL = http://localhost:8080/juddi/uddiget.jsp?
+
+# The UDDI Operator Contact Email Address
+juddi.operatorEmailAddress = admin at juddi.org
+
+# The maximum name size and maximum number
+# of name elements allows in several of the
+# FindXxxx and SaveXxxx UDDI functions.
+juddi.maxNameLength=255
+juddi.maxNameElementsAllowed=5
+
+# The maximum number of UDDI artifacts allowed
+# per publisher. A value of '-1' indicates any 
+# number of artifacts is valid (These values can be
+# overridden at the individual publisher level).
+juddi.maxBusinessesPerPublisher=25
+juddi.maxServicesPerBusiness=20
+juddi.maxBindingsPerService=10
+juddi.maxTModelsPerPublisher=100
+
+# jUDDI Authentication module to use
+juddi.auth = org.apache.juddi.auth.DefaultAuthenticator
+
+# jUDDI DataStore module currently to use
+juddi.dataStore = org.apache.juddi.datastore.jdbc.JDBCDataStore
+
+# use a dataSource (if set to false a direct 
+# jdbc connection will be used.
+juddi.isUseDataSource=false
+juddi.jdbcDriver=com.mysql.jdbc.Driver
+juddi.jdbcUrl=jdbc:mysql://localhost:3306/juddi
+juddi.jdbcUsername=root
+juddi.jdbcPassword=admin
+# jUDDI DataSource to use
+# juddi.dataSource=java:comp/env/jdbc/MySqlDS
+
+# jUDDI UUIDGen implementation to use
+juddi.uuidgen = org.apache.juddi.uuidgen.DefaultUUIDGen
+
+# jUDDI Cryptor implementation to use
+juddi.cryptor = org.apache.juddi.cryptor.DefaultCryptor
+ 
+# jUDDI Validator to use
+juddi.validator=org.apache.juddi.validator.DefaultValidator
+
+# jUDDI Proxy Properties (used by RegistryProxy)
+juddi.proxy.adminURL = http://localhost:8080/juddi/admin
+juddi.proxy.inquiryURL = http://localhost:8080/juddi/inquiry
+juddi.proxy.publishURL = http://localhost:8080/juddi/publish
+juddi.proxy.transportClass = org.apache.juddi.proxy.AxisTransport
+juddi.proxy.securityProvider = com.sun.net.ssl.internal.ssl.Provider
+juddi.proxy.protocolHandler = com.sun.net.ssl.internal.www.protocol
+
+# JNDI settings (used by RMITransport)
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.provider.url=jnp://localhost:1099
+java.naming.factory.url.pkgs=org.jboss.naming
+  

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

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/readme.txt
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/readme.txt	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/readme.txt	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,161 @@
+Overview:
+=========
+        The purpose of the wiretap quickstart sample is demonstrate
+        the wiretap J2EE pattern (as defined here:
+        http://www.enterpriseintegrationpatterns.com/WireTap.html) using a
+        static router as implemented in org.jboss.soa.esb.actions.StaticRouter
+        and a content based router (CBR) as implemented in
+        org.jboss.soa.esb.actions.ContentBasedRouter
+
+Running this quickstart:
+========================
+        Please refer to 'ant help-quickstarts' for prerequisites about the 
+        quickstarts and a more detailed descripton of the different ways to 
+        run the quickstarts.
+
+To Run standalone mode:
+=======================
+    1.  In a command terminal window in the quickstart folder type 'ant deploy-jms-dests'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant run'.
+    3.  Open another command terminal window in this folder (Window2"), type ant receive-destination'
+    4.  Open another command terminal window in this folder (Window3"), type ant receive-wiretap'
+    5.  Open another command terminal window in this folder ("Window4"), type 'ant runtest-cbr'. 
+        (Note the other ant targets listed below.)
+    6.  Switch back to "Window1", "Window2", and "Window3" to see the output from the ESB
+
+To Run '.esb' archive mode:
+===========================
+    1.  In a command terminal window in this folder ("Window1"), type 'ant undeploy-jms-dests'.
+    2.  In a command terminal window in this folder ("Window1"), type 'ant deploy'.
+    3.  Open another command terminal window in this folder (Window2"), type ant receive-destination'
+    4.  Open another command terminal window in this folder (Window3"), type ant receive-wiretap'
+    5.  Open another command terminal window in this folder ("Window4"), type 'ant runtest-cbr'. 
+        (Note the other ant targets listed below.) You can modify the "routeToFollow" element
+        value in SampleOrder.xml to control the path that is followed thru the CBR. The valid
+        values are: "regular,", "wiretap," and "both."
+    6.  Switch back to "Window1", "Window2", and "Window3" to see the output from the ESB
+
+        The quickstart makes use of the queues illustrated (the queues are shown 
+        in boxes) in the following diagram. You might review the build.xml file to 
+        see how it is setup. More details on the build.xml can be found later in 
+        this document. You can modify the build.xmlto change the phrase sent in the messages.
+
+        application initiated
+                 |
+                 |
+                 V
+      --------------------------      ---------------------------- 
+      |qswiretap_wire_GWRequest| ---> |qswiretap_wire_out_Request|---> wiretap output
+      --------------------------      ---------------------------- 
+                 |
+                 |
+                 V
+      ---------------------------
+      |qswiretap_regular_Request|
+      ---------------------------
+                 |
+                 |
+                 V
+        destination output  
+
+Project File Descriptions
+=========================
+ 
+        * jbossesb.xml - the JMS gateway and ESB configuration file.
+
+        * jbossesb-properties.xml - also needed by jUDDI and needs to
+          be at the head of the classpath.  Both juddi.properties and
+          jbossesb-properties.xml are used when the service first
+          boots up for self-registration based upon the
+          service-category and service-name found in the
+          esb-config.xml file.
+
+        * jndi.properties - needed primarily for
+          quickstart.test.SendJMSMessage that is fired by ant runtest.
+
+        * log4j.xml - needed to configure log4J used by both the
+          quickstart and the ESB itself.  A listener needs a place to
+          log.
+
+        * src\quickstart\staticrouter\test\SendJMSMessage.java -
+          shoots in the string passed in via the command line or in
+          this case the arg attribute in the ant runtest task.
+
+        * src\quickstart\staticrouter\test\SendWireJMSMessage.java -
+          shoots in the string to the wiretap passed in via the
+          command line or in this case the arg attribute in the ant
+          wiretap task.
+
+        * src\quickstart\staticrouter\test\SendTestJMSMessage.java -
+          shoots in the string to the static router passed in via the
+          command line or in this case the arg attribute in the ant
+          static-router task.
+ 
+        * src\quickstart\staticrouter\test\SendCBRJMSMessage.java -
+          shoots in the string to the CBR router in the ant
+          runtest-cbr task.
+
+        * src\quickstart\staticrouter\test\ReceiveJMSMessage.java -
+          reads the output queues and displays the messages.
+
+        * src\quickstart\services\rules\MyESBRules-XPath.drl - JBoss
+          Rules definition file
+
+        * build.xml - This quickstart implements the following tasks:
+
+                * runtest - send message thru gateway listener in
+                  MyJMSListener directly to destination queue,
+                  bypasses wiretap completely
+
+                * wiretap - send message thru gateway listener in
+                  MyJMSWiretapListener to wiretap output queue
+
+                * static-router - send message thru static router
+                  gateway in org.jboss.soa.esb.actions.StaticRouter to
+                  both wiretap output queue and destination queue
+
+                * runtest-cbr - send message thru CBR router gateway
+                  in org.jboss.soa.esb.actions.ContentBasedRouter to
+                  both wiretap output queue and destination queue
+
+                * config - copies the JBoss Rules file into
+                  /build/classes
+
+                * quickstart-specific-deploys - creates the JBoss
+                  Rules jar file
+
+                * the echoCP task is useful for making sure what you
+                  think is in your classpath is actually in your
+                  classpath Usage is: ant echoCP > myclasspath.txt
+                  This generates a file called myclasspath.txt which
+                  can be reviewed in a text editor
+
+                  In order to run the tests, you must first run these
+                  ant tasks - in this order:
+
+                  * ant compile
+                  * ant config
+                  * ant quickstart-specific-deploys
+                  * ant deploy
+
+                  This quickstart uses the queues called:
+
+                  * qswiretap_static_router_Request - Where the
+                    message enters the wiretap static router
+
+                  * qswiretap_regular_Request - The application
+                    destination for the message
+
+                  * qswiretap_wire_GWRequest - Where the message
+                    enters the wiretap via a gateway listener
+
+                  * qswiretap_wire_out_Request - Where the message
+                    exits the wiretap and can be processed by wiretap
+                    processes
+
+                  * qswiretap_cbr_Request - Where the message enters
+                    the wiretap CBR router
+
+                  * the classpath property pulls the
+                    jbossesb-properties.xml file and the
+                    juddi.properties file to the front of the list

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/ReceiveJMSMessage.java
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/ReceiveJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/ReceiveJMSMessage.java	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,94 @@
+/*
+ * 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.wiretap.test;
+
+import javax.jms.Queue;
+import javax.jms.QueueConnection;
+import javax.jms.QueueConnectionFactory;
+import javax.jms.QueueReceiver;
+import javax.jms.QueueSession;
+import javax.jms.ObjectMessage;
+import javax.jms.TextMessage;
+import javax.naming.InitialContext;
+
+import javax.jms.MessageListener;
+import javax.jms.Message;
+
+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
+
+           // Ref:  http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch6.chapt.html#d0e12917
+           public static class ExListener implements MessageListener
+           {
+              public void onMessage(Message msg)
+              {
+                  TextMessage tm = (TextMessage) msg;
+                  try {
+                      System.out.println("onMessage, recv text=" + tm.getText());
+                  } catch(Throwable t) {
+                    t.printStackTrace();
+                  }
+              }
+           }
+           
+           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);
+                 
+                  // Ref:  http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch6.chapt.html#d0e12917
+                  queueReceiver.setMessageListener(new ExListener());
+
+                   } 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();
+                      }
+           }
+}

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendCBRJMSMessage.java
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendCBRJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendCBRJMSMessage.java	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,113 @@
+/*
+ * 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.wiretap.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 javax.jms.TextMessage;
+
+import java.io.File;
+import java.io.FileReader;
+import java.io.IOException;
+
+public class SendCBRJMSMessage {
+    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/qswiretap_cbr_Request");   //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);    
+        TextMessage tm = session.createTextMessage(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
+    {        	    	
+
+    	SendCBRJMSMessage sm = new SendCBRJMSMessage();
+    	sm.setupConnection();
+    	String fileContent = sm.readAsciiFile("SampleOrder.xml");
+    	System.out.println("---------------------------------------------");
+    	System.out.println(fileContent);
+    	System.out.println("---------------------------------------------");
+    	sm.sendAMessage(fileContent); 
+    	sm.stop();
+    	
+    }
+    
+}

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendJMSMessage.java	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,73 @@
+/*
+ * 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.wiretap.test;
+
+import javax.jms.JMSException;
+import javax.jms.TextMessage;
+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/qswiretap_regular_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);
+		TextMessage tm = session.createTextMessage(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();
+	}
+
+}

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendStaticRouterJMSMessage.java
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendStaticRouterJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendStaticRouterJMSMessage.java	2007-06-12 15:25:16 UTC (rev 12496)
@@ -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 quickstart.wiretap.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 SendStaticRouterJMSMessage {
+    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/qswiretap_static_router_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
+    {        	    	
+    	SendStaticRouterJMSMessage sm = new SendStaticRouterJMSMessage();
+    	sm.setupConnection();
+    	sm.sendAMessage(args[0]); 
+    	sm.stop();
+    	
+    }
+    
+}

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendWiretapJMSMessage.java
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendWiretapJMSMessage.java	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/quickstart/wiretap/test/SendWiretapJMSMessage.java	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,72 @@
+/*
+ * 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.wiretap.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 SendWiretapJMSMessage {
+	QueueConnection conn;
+
+	QueueSession session;
+
+	Queue que;
+
+	public void setupAConnection() throws JMSException, NamingException {
+		InitialContext iniCtx = new InitialContext();
+		Object tmp = iniCtx.lookup("ConnectionFactory");
+		QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
+		conn = qcf.createQueueConnection();
+		que = (Queue) iniCtx.lookup("queue/qswiretap_wire_GW_Request");
+		session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
+		conn.start();
+		System.out.println("Connection to wiretap Started");
+	}
+
+	public void stop() throws JMSException {
+		conn.stop();
+		session.close();
+		conn.close();
+	}
+
+	public void sendMessage(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 {
+		SendWiretapJMSMessage sm = new SendWiretapJMSMessage();
+		sm.setupAConnection();
+		sm.sendMessage(args[0]);
+		sm.stop();
+	}
+
+}

Added: labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/services/rules/MyESBRules-XPath.drl
===================================================================
--- labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/services/rules/MyESBRules-XPath.drl	                        (rev 0)
+++ labs/jbossesb/workspace/ldimaggi/product/samples/quickstarts/wiretap/src/services/rules/MyESBRules-XPath.drl	2007-06-12 15:25:16 UTC (rev 12496)
@@ -0,0 +1,38 @@
+#created on: 20070601
+package com.jboss.soa.esb.routing.cbr
+
+#list any import classes here.
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageType;
+
+expander XPathLanguage.dsl
+
+#declare any global variables here
+global java.util.List destinations;
+
+rule "Routing Rule using XPATH equals regular"
+        when
+                xpathEquals "/Order/@routeToFollow", "regular"
+        then 
+                Log : "regular destination";
+                Destination : "regular";
+end
+
+rule "Routing Rule using XPATH equals wiretap"
+        when    
+                xpathEquals "/Order/@routeToFollow", "wiretap"
+        then
+                Log : "wiretap destination";
+                Destination : "wiretap";
+end
+
+rule "Routing Rule using XPATH equals both"
+        when    
+                xpathEquals "/Order/@routeToFollow", "both"
+        then
+                Log : "both destinations";
+                Destination : "regular";
+                Destination : "wiretap";
+end
+
+




More information about the jboss-svn-commits mailing list