You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2008/09/05 10:55:38 UTC
svn commit: r692387 - /activemq/trunk/assembly/src/release/example/build.xml
Author: gtully
Date: Fri Sep 5 01:55:37 2008
New Revision: 692387
URL: http://svn.apache.org/viewvc?rev=692387&view=rev
Log:
tidy help build.xml help text 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=692387&r1=692386&r2=692387&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/example/build.xml (original)
+++ activemq/trunk/assembly/src/release/example/build.xml Fri Sep 5 01:55:37 2008
@@ -52,17 +52,25 @@
<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
+ 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
+
+ OR
+
+ ant producer -Durl=tcp://hostname:61616 -Dmax=1000
- Usage:
- --------------------------------------------------------
-
- --------------------------------------------------------
+ Usage:
+ ant <ant-task> <options>
- Options:
+ --------------------------------------------------------
+ ant consumer <options> - Creates a consumer which waits until a specific number
+ of messages have been received
+
+ Consumer Options:
url - Used to specify acustom URL for the
broker, e.g., tcp://hostname:1234
topic - A boolean to determine whether to use
@@ -85,16 +93,33 @@
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
-
- ant consumer creates a consumer which waits until a specific number of messages have been received
- ant producer creates a producer publishing a number of messages
- ant embedBroker runs an embedded broker inside Java code
-
- ant war creates a WAR deployment unit of the ActiveMQ Broker
+
+ --------------------------------------------------------
+ ant producer <options> - Creates a producer publishing a number of messages
+
+ Producer 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
+ subject - Used to specify a custom destination name,
+ e.g. MyDestination
+ durable - A boolean to specify that you want to create
+ a durable topic subscriber?
+ max - The maximum number of messages to wait for
+ before shutting down
+ sleepTime - The time to sleep between message consumptions
+ transacted - A boolean to specify that you want to use
+ transactions?
+ verbose - Used to print out more info; the default is true
+
+ --------------------------------------------------------
+
+ ant -help - Display ant help screen
+ ant help - Display this message
+ ant clean - Delete the built directory
+ ant embedBroker - Runs an embedded broker inside Java code
+ ant war - Creates a WAR deployment unit of the ActiveMQ Broker
</echo>
</target>