[jboss-svn-commits] JBL Code SVN: r8496 - labs/jbossesb/trunk/product/samples/quickstarts/helloworld

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Dec 21 09:13:17 EST 2006


Author: kurt.stam at jboss.com
Date: 2006-12-21 09:13:16 -0500 (Thu, 21 Dec 2006)
New Revision: 8496

Added:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbossesb.xml
Log:
Adding rough setup of the new configuration.

Added: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbossesb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbossesb.xml	2006-12-21 13:53:47 UTC (rev 8495)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbossesb.xml	2006-12-21 14:13:16 UTC (rev 8496)
@@ -0,0 +1,52 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.xsd " >
+
+    <providers>
+          <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
+                      jndi-context-factory="org.jnp.interfaces.NamingContextFactory "
+                      jndi-URL="localhost" >
+                      
+              <jms-bus busid="quickstartGwChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/quickstart"
+                      selector="type='toGateway'"
+                  />
+              </jms-bus>
+              <jms-bus busid="quickstartEsbChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/quickstart"
+                      selector="type='toEsb'"
+                  />
+              </jms-bus>
+
+          </jms-provider>
+      </providers>
+      
+      <services>
+          <service category="FirstServicesGW" name="SimpleJMSGateway" description="Hello World(gateway)" is-gateway="true">
+              <listeners>        
+                  <jms-listener name="JMS-Gateway"
+                              busidref="quickstartGwChannel"
+                              target-service-category="FirstServiceESB"
+                              target-service-name="SimpleListener"
+                              maxThreads="1"
+                  />
+              </listeners>    
+          </service>
+          
+        <service category="FirstServiceESB" name="SimpleListener" description="Hello World" is-gateway="false">
+            <listeners>
+                <listener name="hello world"
+                              busidref="quickstartEsbChannel"
+                              maxThreads="1"
+                />
+            </listeners>
+            <actions>
+                   <action class="quickstart.MyJMSListenerAction" process="displayMessage" />      
+            </actions>
+        </service>
+      </services>
+     
+</jbossesb>




More information about the jboss-svn-commits mailing list