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

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Mar 14 17:37:52 EDT 2007


Author: kurt.stam at jboss.com
Date: 2007-03-14 17:37:51 -0400 (Wed, 14 Mar 2007)
New Revision: 10189

Added:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service.xml
Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/build.xml
Log:
Adding the queue-service to the archive.

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/build.xml	2007-03-14 21:12:40 UTC (rev 10188)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/build.xml	2007-03-14 21:37:51 UTC (rev 10189)
@@ -48,10 +48,11 @@
 
   <target name="jars" depends="compile">
   	<copy file="jboss-esb.xml" todir="${build.dir}/META-INF"/>
+  	<copy file="jbm-queue-service.xml" todir="${build.dir}"/>
 	<delete file="${build.dir}/${ant.project.name}.esb"/>
         <jar destfile="${build.dir}/${ant.project.name}.esb"
 		basedir="${build.dir}"
-		includes="**/MyJMSListenerAction.class,**/jboss-esb.xml"/>
+		includes="**/MyJMSListenerAction.class,**/jboss-esb.xml,jbm-queue-service.xml"/>
   	<delete file="${build.dir}/${ant.project.name}-client.jar"/>
   	<jar destfile="${build.dir}/${ant.project.name}-client.jar"
   		basedir="${build.dir}"
@@ -64,7 +65,7 @@
 	     	<arg value="${esb-config}"/>
 			<classpath refid="classpath"/>
 	     </java>     
-  </target>	
+  </target>
 
   <target name="deploy" depends="jars">
 	    <echo>Deploys the project to the JBoss Application Server</echo>

Added: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service.xml	2007-03-14 21:37:51 UTC (rev 10189)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+  
+  <loader-repository>jboss.messaging:loader=ScopedLoaderRepository
+    <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
+  </loader-repository>
+  
+  <mbean code="org.jboss.jms.server.destination.QueueService"
+    name="jboss.messaging.destination:service=Queue,name=quickstart_helloworld_Request"
+    xmbean-dd="xmdesc/Queue-xmbean.xml">
+    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+  </mbean>
+</server>
\ No newline at end of file


Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/jbm-queue-service.xml
___________________________________________________________________
Name: svn:mime-type
   + text/xml
Name: svn:eol-style
   + native




More information about the jboss-svn-commits mailing list