[jboss-svn-commits] JBL Code SVN: r8524 - 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 14:46:16 EST 2006


Author: burrsutter
Date: 2006-12-21 14:46:15 -0500 (Thu, 21 Dec 2006)
New Revision: 8524

Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/jbossesb.xml
Log:
fixed up

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/jbossesb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/jbossesb.xml	2006-12-21 19:46:01 UTC (rev 8523)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_action/jbossesb.xml	2006-12-21 19:46:15 UTC (rev 8524)
@@ -1,5 +1,5 @@
 <?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 " >
+<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"
@@ -23,36 +23,50 @@
       </providers>
       
       <services>
-          <service category="FirstServicesGW" name="SimpleJMSGateway" description="Hello World(gateway)" is-gateway="true">
+          <service category="HelloWorld_ActionGW" name="SimpleJMSGateway" 
+          		   description="Hello World(gateway)" is-gateway="true"
+          		   target-service-category="HelloWorld_ActionESB"
+          		   target-service-name="SimpleListener"
+          		   >
               <listeners>        
                   <jms-listener name="JMS-Gateway"
-                              busidref="quickstartGwChannel"
-                              target-service-category="FirstServiceESB"
-                              target-service-name="SimpleListener"
+                              busidref="quickstartGwChannel"                         
                               maxThreads="1"
                   />
               </listeners>    
           </service>
           
-        <service category="FirstServiceESB" name="SimpleListener" description="Hello World" is-gateway="false">
+        <service category="HelloWorld_ActionESB" name="SimpleListener" description="Hello World" is-gateway="false">
             <listeners>
-                <listener name="Hello World"
+                <jms-listener name="JMS-ESBListener"
                               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">
+               <action name="displayAction" 
+               		class="quickstart.helloworld_action.MyJMSListenerAction" 
+               		process="displayMessage">
+               		<property name="exceptionMethod" value="exceptionHandler"/>
+               </action>
+  			   <action name="playAction" 
+  			   		class="quickstart.helloworld_action.MyJMSListenerAction" 
+  			   		process="playWithMessage">                   
+               		<property name="exceptionMethod" value="exceptionHandler"/>
+  			   </action>
+               <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/quickstart_helloworld_action_Response">
 					         	<messageProp name="quickstart" value="hello_world_action" />
-					        </queue> 
-			 	     </target>
-	    		   </NotificationList> 
+					       </queue> 
+			 	     	 </target>
+	    		   	   </NotificationList> 
+	    		   </property>
    	   			</action>    
             </actions>
         </service>




More information about the jboss-svn-commits mailing list