You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ra...@apache.org on 2008/02/14 19:22:04 UTC

svn commit: r627823 - /activemq/trunk/assembly/src/release/example/build.xml

Author: rajdavies
Date: Thu Feb 14 10:21:55 2008
New Revision: 627823

URL: http://svn.apache.org/viewvc?rev=627823&view=rev
Log:
applied patch from https://issues.apache.org/activemq/browse/AMQ-1513

Modified:
    activemq/trunk/assembly/src/release/example/build.xml

Modified: activemq/trunk/assembly/src/release/example/build.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/example/build.xml?rev=627823&r1=627822&r2=627823&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/example/build.xml (original)
+++ activemq/trunk/assembly/src/release/example/build.xml Thu Feb 14 10:21:55 2008
@@ -53,8 +53,39 @@
 	<target name="help">
 		<echo>
 		This script requires Ant 1.6 or higher
+NOTE: All options should be specified as system properties 
+      on the command line, e.g.:
+      ant consumer -Durl=tcp://hostname:1234 -Dtopic=true
+      
+		 Usage:
+            --------------------------------------------------------
+            
+            --------------------------------------------------------
 
-		usage:
+            Options: 
+                              url - Used to specify acustom URL for the 
+                                    broker, e.g., tcp://hostname:1234
+                            topic - A boolean to determine whether to use
+                                    topics or queues; the default is false
+                          subject - Used to specify a custom destination 
+                                    name, e.g. MyDestination
+                          durable - A boolean to specify that you want to 
+                                    create a durable topic? 
+                              max - The maximum number of messages to wait 
+                                    for before shutting down 
+                         clientId - A string to use as the client id
+                       transacted - A boolean to specify that you want to use 
+                                    transactions? 
+                        sleepTime - The time to sleep between message consumptions
+                          verbose - Used to print out more info; the default is
+                                    true 
+                         ack-mode - The type of message acknowledgement to use; 
+                                    see the Javadocs for javax.jms.Session for
+                                    more information
+                 receive-time-out - An integer to specify the time to wait for
+                                    message consumption
+ 
+            --------------------------------------------------------
 		   ant -help		     		display ant help screen
 		   ant help						display this message
 		   ant clean		     		delete the built directory