[jboss-svn-commits] JBL Code SVN: r14569 - labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sun Aug 26 03:13:07 EDT 2007


Author: kevin.conner at jboss.com
Date: 2007-08-26 03:13:06 -0400 (Sun, 26 Aug 2007)
New Revision: 14569

Added:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb-unfiltered.xml
Removed:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb.xml.template
Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/build.xml
Log:
Moved jboss-esb.xml.template to jboss-esb-unfiltered.xml: JBESB-893

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/build.xml	2007-08-26 06:59:47 UTC (rev 14568)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/build.xml	2007-08-26 07:13:06 UTC (rev 14569)
@@ -10,7 +10,7 @@
 
 	<target name="config">
 		<property name="results.dir" location="."/>	
-		<copy file="jboss-esb.xml.template" 
+		<copy file="jboss-esb-unfiltered.xml"
 			tofile="jboss-esb.xml">
 			<filterset>
 				<filter token="results.dir" value="file://${results.dir}"/>

Copied: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb-unfiltered.xml (from rev 14515, labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb.xml.template)
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb-unfiltered.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb-unfiltered.xml	2007-08-26 07:13:06 UTC (rev 14569)
@@ -0,0 +1,114 @@
+<?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"
+                        jndi-URL="jnp://127.0.0.1:1099" jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
+                        jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">
+                      
+              <jms-bus busid="quickstartGwChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/quickstart_helloworld_Request_gw"
+                   />
+              </jms-bus>
+			  
+              <jms-bus busid="quickstartEsbChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/quickstart_helloworld_Request_esb"
+                  />
+              </jms-bus>
+
+              <jms-bus busid="quickstartFileChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/quickstart_helloworld_file_gw"
+                  />
+              </jms-bus>
+
+              <jms-bus busid="quickstartConsoleChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/quickstart_helloworld_console_gw"
+                  />
+              </jms-bus>
+
+
+          </jms-provider>
+      </providers>
+      
+      <services>
+        <service 
+        	category="FirstServiceESB" 
+        	name="SimpleListener" 
+        	description="Hello World">
+            <listeners>
+                <jms-listener name="JMS-Gateway"
+                    busidref="quickstartGwChannel"
+                    maxThreads="1"
+                    is-gateway="true"
+                />
+                <jms-listener name="helloWorld"
+                              busidref="quickstartEsbChannel"
+                              maxThreads="1"
+                />
+            </listeners>
+            <actions>
+               	<action name="routeAction"  class="org.jboss.soa.esb.actions.StaticRouter">
+			<property name="destinations">
+				<route-to service-category="routerToDisplay" service-name="DisplayRouterListener" /> 
+				<route-to service-category="routerToFile" service-name="FileRouterListener" /> 
+			</property>
+   	   	</action>
+	    </actions>  
+        </service>
+	<service	
+		category="routerToDisplay"
+		name="DisplayRouterListener"
+		description="Static route display destination">
+		<listeners>
+		                <jms-listener name="helloWorldconsole"
+                              busidref="quickstartConsoleChannel"
+                              maxThreads="1"
+                />
+		</listeners>
+		<actions>
+                   <action name="action1" 
+                   	class="org.jboss.soa.esb.samples.quickstart.helloworldfilenotifier.MyJMSListenerAction" 
+                   	process="displayMessage" 
+                	/>      
+		</actions>     
+	</service>
+	<service
+		category="routerToFile"
+		name="FileRouterListener"
+		description="Static route file destination">
+		<listeners>
+		                <jms-listener name="helloWorldfile"
+                              busidref="quickstartFileChannel"
+                              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="NotifyFiles">
+								<file append="false" URI="@results.dir@/results.log"/>
+							</target>
+						</NotificationList>
+						<NotificationList type="err">
+							<target class="NotifyConsole"/>
+                        	<target class="NotifyFiles">
+								<file append="false" URI="@results.dir@/results.log"/>
+							</target>
+						</NotificationList>
+					</property>
+				</action>
+        </actions>
+	</service>
+  </services>
+</jbossesb>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb.xml.template
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb.xml.template	2007-08-26 06:59:47 UTC (rev 14568)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb.xml.template	2007-08-26 07:13:06 UTC (rev 14569)
@@ -1,114 +0,0 @@
-<?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"
-                        jndi-URL="jnp://127.0.0.1:1099" jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
-                        jndi-pkg-prefix="org.jboss.naming:org.jnp.interfaces">
-                      
-              <jms-bus busid="quickstartGwChannel">
-                  <jms-message-filter
-                      dest-type="QUEUE"
-                      dest-name="queue/quickstart_helloworld_Request_gw"
-                   />
-              </jms-bus>
-			  
-              <jms-bus busid="quickstartEsbChannel">
-                  <jms-message-filter
-                      dest-type="QUEUE"
-                      dest-name="queue/quickstart_helloworld_Request_esb"
-                  />
-              </jms-bus>
-
-              <jms-bus busid="quickstartFileChannel">
-                  <jms-message-filter
-                      dest-type="QUEUE"
-                      dest-name="queue/quickstart_helloworld_file_gw"
-                  />
-              </jms-bus>
-
-              <jms-bus busid="quickstartConsoleChannel">
-                  <jms-message-filter
-                      dest-type="QUEUE"
-                      dest-name="queue/quickstart_helloworld_console_gw"
-                  />
-              </jms-bus>
-
-
-          </jms-provider>
-      </providers>
-      
-      <services>
-        <service 
-        	category="FirstServiceESB" 
-        	name="SimpleListener" 
-        	description="Hello World">
-            <listeners>
-                <jms-listener name="JMS-Gateway"
-                    busidref="quickstartGwChannel"
-                    maxThreads="1"
-                    is-gateway="true"
-                />
-                <jms-listener name="helloWorld"
-                              busidref="quickstartEsbChannel"
-                              maxThreads="1"
-                />
-            </listeners>
-            <actions>
-               	<action name="routeAction"  class="org.jboss.soa.esb.actions.StaticRouter">
-			<property name="destinations">
-				<route-to service-category="routerToDisplay" service-name="DisplayRouterListener" /> 
-				<route-to service-category="routerToFile" service-name="FileRouterListener" /> 
-			</property>
-   	   	</action>
-	    </actions>  
-        </service>
-	<service	
-		category="routerToDisplay"
-		name="DisplayRouterListener"
-		description="Static route display destination">
-		<listeners>
-		                <jms-listener name="helloWorldconsole"
-                              busidref="quickstartConsoleChannel"
-                              maxThreads="1"
-                />
-		</listeners>
-		<actions>
-                   <action name="action1" 
-                   	class="org.jboss.soa.esb.samples.quickstart.helloworldfilenotifier.MyJMSListenerAction" 
-                   	process="displayMessage" 
-                	/>      
-		</actions>     
-	</service>
-	<service
-		category="routerToFile"
-		name="FileRouterListener"
-		description="Static route file destination">
-		<listeners>
-		                <jms-listener name="helloWorldfile"
-                              busidref="quickstartFileChannel"
-                              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="NotifyFiles">
-								<file append="false" URI="@results.dir@/results.log"/>
-							</target>
-						</NotificationList>
-						<NotificationList type="err">
-							<target class="NotifyConsole"/>
-                        	<target class="NotifyFiles">
-								<file append="false" URI="@results.dir@/results.log"/>
-							</target>
-						</NotificationList>
-					</property>
-				</action>
-        </actions>
-	</service>
-  </services>
-</jbossesb>




More information about the jboss-svn-commits mailing list