[seam-commits] Seam SVN: r13351 - in branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom: resources and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Jul 8 10:54:54 EDT 2010


Author: jharting
Date: 2010-07-08 10:54:54 -0400 (Thu, 08 Jul 2010)
New Revision: 13351

Added:
   branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom/resources/jboss-seam-chatroom-hornetq-jms.xml
Modified:
   branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom/build.xml
   branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom/readme.txt
Log:
JBPAPP-4583

Modified: branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom/build.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom/build.xml	2010-07-08 14:19:10 UTC (rev 13350)
+++ branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom/build.xml	2010-07-08 14:54:54 UTC (rev 13351)
@@ -13,6 +13,10 @@
 	<property name="facelets.lib"      value="yes"/>
 	<property name="cache.lib"         value="yes"/>
 
+	<condition property="example.service" value="jboss-seam-chatroom-hornetq-jms.xml" >
+		<isset property="hornetq" />
+	</condition>
+	
     <import file="../../build.xml"/>
 
 </project>

Modified: branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom/readme.txt
===================================================================
--- branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom/readme.txt	2010-07-08 14:19:10 UTC (rev 13350)
+++ branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom/readme.txt	2010-07-08 14:54:54 UTC (rev 13351)
@@ -4,4 +4,6 @@
 This example shows using Seam Remoting to subscribe and publish messages to JMS. 
 It runs on JBoss AS as an EAR.
 
+To run the example on JBoss AS with HornetQ, set the hornetq property to true (i.e. ant deploy -Dhornetq=true)
+
 example.name=chatroom

Added: branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom/resources/jboss-seam-chatroom-hornetq-jms.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom/resources/jboss-seam-chatroom-hornetq-jms.xml	                        (rev 0)
+++ branches/enterprise/JBPAPP_5_0/examples/remoting/chatroom/resources/jboss-seam-chatroom-hornetq-jms.xml	2010-07-08 14:54:54 UTC (rev 13351)
@@ -0,0 +1,9 @@
+<configuration xmlns="urn:hornetq"
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
+
+   <topic name="chatroomTopic">
+      <entry name="topic/chatroomTopic"/>
+   </topic>
+   
+</configuration>



More information about the seam-commits mailing list