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

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


Author: burrsutter
Date: 2006-12-21 12:21:13 -0500 (Thu, 21 Dec 2006)
New Revision: 8505

Added:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/jbossesb.xml
Log:
initial check in


Added: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/jbossesb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/jbossesb.xml	2006-12-21 16:13:27 UTC (rev 8504)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/jbossesb.xml	2006-12-21 17:21:13 UTC (rev 8505)
@@ -0,0 +1,61 @@
+<?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_helloworld_action_Request"
+                  />
+              </jms-bus>
+              <jms-bus busid="quickstartEsbChannel">
+                  <jms-message-filter
+                      dest-type="QUEUE"
+                      dest-name="queue/B"
+                  />
+              </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" exceptionMethod="exceptionHandler" />
+  			   <action class="quickstart.MyJMSListenerAction" process="playWithMessage" exceptionMethod="exceptionHandler" />                   
+               <action  class="org.jboss.soa.esb.actions.Notifier"  okMethod="notifyOK">
+   	 			   <NotificationList type="OK"> 
+      			     <target class="NotifyConsole" />
+				     <target class="NotifyQueues">
+				   	        <queue jndiName="queue/quickstart_helloworld_action_Response">
+					         	<messageProp name="quickstart" value="hello_world_action" />
+					        </queue> 
+			 	     </target>
+	    		   </NotificationList> 
+   	   			</action>    
+            </actions>
+        </service>
+      </services>
+     
+</jbossesb>




More information about the jboss-svn-commits mailing list