[jboss-svn-commits] JBL Code SVN: r14570 - in labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier: src/org/jboss/soa/esb/samples/quickstart/helloworldfilenotifier/test and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sun Aug 26 03:28:25 EDT 2007


Author: kevin.conner at jboss.com
Date: 2007-08-26 03:28:24 -0400 (Sun, 26 Aug 2007)
New Revision: 14570

Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/deployment.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jbm-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jbmq-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb-unfiltered.xml
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/src/org/jboss/soa/esb/samples/quickstart/helloworldfilenotifier/test/SendJMSMessage.java
Log:
Fixed queue names and dependencies: JBESB-894

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 07:13:06 UTC (rev 14569)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/build.xml	2007-08-26 07:28:24 UTC (rev 14570)
@@ -19,7 +19,7 @@
 	</target>
 	
 	<target name="runtest" depends="compile" 
-		description="sends a JMS message to queue/quickstart_helloworld_Request_gw">
+		description="sends a JMS message to queue/quickstart_helloworld_file_notifier_Request_gw">
 		<echo>Runs Test JMS Sender</echo>
 		<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.helloworldfilenotifier.test.SendJMSMessage" failonerror="true">
 			<arg value="Hello World"/>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/deployment.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/deployment.xml	2007-08-26 07:13:06 UTC (rev 14569)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/deployment.xml	2007-08-26 07:28:24 UTC (rev 14570)
@@ -1,4 +1,6 @@
 <jbossesb-deployment>
-  <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb</depends>
-  <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_gw</depends>
+  <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_notifier_Request_esb</depends>
+  <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_notifier_Request_gw</depends>
+  <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_notifier_console_gw</depends>
+  <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_notifier_file_gw</depends>
 </jbossesb-deployment>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jbm-queue-service.xml	2007-08-26 07:13:06 UTC (rev 14569)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jbm-queue-service.xml	2007-08-26 07:28:24 UTC (rev 14570)
@@ -1,26 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <server>
   <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb"
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_notifier_Request_esb"
     xmbean-dd="xmdesc/Queue-xmbean.xml">
 	<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
 	<depends>jboss.messaging:service=PostOffice</depends>
   </mbean>
   <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_gw"
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_notifier_Request_gw"
     xmbean-dd="xmdesc/Queue-xmbean.xml">
     <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
 	<depends>jboss.messaging:service=PostOffice</depends>
   </mbean>
 
   <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_gw"
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_notifier_file_gw"
     xmbean-dd="xmdesc/Queue-xmbean.xml">
     <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
 	<depends>jboss.messaging:service=PostOffice</depends>
   </mbean>
   <mbean code="org.jboss.jms.server.destination.QueueService"
-    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_console_gw"
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_notifier_console_gw"
     xmbean-dd="xmdesc/Queue-xmbean.xml">
     <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
 	<depends>jboss.messaging:service=PostOffice</depends>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jbmq-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jbmq-queue-service.xml	2007-08-26 07:13:06 UTC (rev 14569)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jbmq-queue-service.xml	2007-08-26 07:28:24 UTC (rev 14570)
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <server>
   <mbean code="org.jboss.mq.server.jmx.Queue"
-    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb">
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_notifier_Request_esb">
     <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=quickstart_helloworld_Request_gw">
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_notifier_Request_gw">
     <depends optional-attribute-name="DestinationManager">
       jboss.mq:service=DestinationManager
     </depends>
@@ -15,13 +15,13 @@
 
 
   <mbean code="org.jboss.mq.server.jmx.Queue"
-    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_gw">
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_notifier_file_gw">
     <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=quickstart_helloworld_console_gw">
+    name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_file_notifier_console_gw">
     <depends optional-attribute-name="DestinationManager">
       jboss.mq:service=DestinationManager
     </depends>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb-unfiltered.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb-unfiltered.xml	2007-08-26 07:13:06 UTC (rev 14569)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/jboss-esb-unfiltered.xml	2007-08-26 07:28:24 UTC (rev 14570)
@@ -9,28 +9,28 @@
               <jms-bus busid="quickstartGwChannel">
                   <jms-message-filter
                       dest-type="QUEUE"
-                      dest-name="queue/quickstart_helloworld_Request_gw"
+                      dest-name="queue/quickstart_helloworld_file_notifier_Request_gw"
                    />
               </jms-bus>
 			  
               <jms-bus busid="quickstartEsbChannel">
                   <jms-message-filter
                       dest-type="QUEUE"
-                      dest-name="queue/quickstart_helloworld_Request_esb"
+                      dest-name="queue/quickstart_helloworld_file_notifier_Request_esb"
                   />
               </jms-bus>
 
               <jms-bus busid="quickstartFileChannel">
                   <jms-message-filter
                       dest-type="QUEUE"
-                      dest-name="queue/quickstart_helloworld_file_gw"
+                      dest-name="queue/quickstart_helloworld_file_notifier_file_gw"
                   />
               </jms-bus>
 
               <jms-bus busid="quickstartConsoleChannel">
                   <jms-message-filter
                       dest-type="QUEUE"
-                      dest-name="queue/quickstart_helloworld_console_gw"
+                      dest-name="queue/quickstart_helloworld_file_notifier_console_gw"
                   />
               </jms-bus>
 

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/src/org/jboss/soa/esb/samples/quickstart/helloworldfilenotifier/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/src/org/jboss/soa/esb/samples/quickstart/helloworldfilenotifier/test/SendJMSMessage.java	2007-08-26 07:13:06 UTC (rev 14569)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_file_notifier/src/org/jboss/soa/esb/samples/quickstart/helloworldfilenotifier/test/SendJMSMessage.java	2007-08-26 07:28:24 UTC (rev 14570)
@@ -52,7 +52,7 @@
     	Object tmp = iniCtx.lookup("ConnectionFactory");
     	QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
     	conn = qcf.createQueueConnection();
-    	que = (Queue) iniCtx.lookup("queue/quickstart_helloworld_Request_gw");
+    	que = (Queue) iniCtx.lookup("queue/quickstart_helloworld_file_notifier_Request_gw");
     	session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
     	conn.start();
     	System.out.println("Connection Started");




More information about the jboss-svn-commits mailing list