Author: jstrachan
Date: Wed Jun 7 10:33:13 2006
New Revision: 412465
URL: http://svn.apache.org/viewvc?rev=412465&view=rev
Log:
Latest export from confluence
Modified:
incubator/activemq/site/activemq-performance-module-users-manual.html
Modified: incubator/activemq/site/activemq-performance-module-users-manual.html
URL:
http://svn.apache.org/viewvc/incubator/activemq/site/activemq-performance-module-users-manual.html?rev=412465&r1=412464&r2=412465&view=diff
==============================================================================
--- incubator/activemq/site/activemq-performance-module-users-manual.html
(original)
+++ incubator/activemq/site/activemq-performance-module-users-manual.html Wed
Jun 7 10:33:13 2006
@@ -245,6 +245,25 @@
<P>To run the following Maven goals make sure you are inside a Maven2 project
directory where its POM is enabled with the Maven2 plugin such as the <SPAN
class="nobr"><A
href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-perftest/"
title="Visit page outside Confluence" rel="nofollow">activemq-perftest
module<SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0"
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
+<P>To get started try typing the following commands into separate shells from
the <SPAN class="nobr"><A
href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-perftest/"
title="Visit page outside Confluence" rel="nofollow">activemq-perftest
directory<SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0"
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">mvn activemq-perf:broker -Durl=broker:tcp:<SPAN
class="code-comment">//localhost:61616
+</SPAN>mvn activemq-perf:consumer
+mvn activemq-perf:producer</PRE>
+</DIV></DIV>
+
+<P>If you run the broker on a different machine then change the producer and
consumer commands to</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">mvn activemq-perf:consumer
-Dfactory.brokerUrl=tcp:<SPAN class="code-comment">//host:port
+</SPAN>mvn activemq-perf:producer -Dfactory.brokerUrl=tcp:<SPAN
class="code-comment">//host:port</SPAN></PRE>
+</DIV></DIV>
+
+<P>where you switch host:port with the actual values.</P>
+
+<H3><A name="ActiveMQPerformanceModuleUsersManual-Mavengoals"></A>Maven
goals</H3>
+
<TABLE class="confluenceTable"><TBODY>
<TR>
<TH class="confluenceTh"> Goal </TH>
@@ -268,7 +287,7 @@
</TBODY></TABLE>
<P><SUP>1</SUP> <B>Note</B>:The parameters for both consumer and producers are
described in the next section. (<A href="sample-report.html" title="sample
report">sample report</A>) </P>
-<H2><A
name="ActiveMQPerformanceModuleUsersManual-ConfigurationforrunningasystemofJMSClients%28Producer%2FConsumer%29"></A>Configuration
for running a system of JMS Clients (Producer/Consumer)</H2>
+<H3><A
name="ActiveMQPerformanceModuleUsersManual-ConfigurationforrunningasystemofJMSClients%28Producer%2FConsumer%29"></A>Configuration
for running a system of JMS Clients (Producer/Consumer)</H3>
<TABLE class="confluenceTable"><TBODY>
<TR>
@@ -305,7 +324,7 @@
</TBODY></TABLE>
<P><SUP>1</SUP> <B>Note</B>: If the number of destinations is less than the
number of clients and the distribution type is either 'equal' or
'divide', each client will send/receive from only one destination,
distributing the destinations among the clients. i.e. if there are 5 producers
and 2 destinations, 3 producers will send to destination 1, and 2 producers
will send to destination 2. Also, a consumer can only receive from a single
destination, unless composite destination is supported and specified.</P>
-<H2><A
name="ActiveMQPerformanceModuleUsersManual-ConfigurationforrunningaJMSProducer"></A>Configuration
for running a JMS Producer</H2>
+<H3><A
name="ActiveMQPerformanceModuleUsersManual-ConfigurationforrunningaJMSProducer"></A>Configuration
for running a JMS Producer</H3>
<TABLE class="confluenceTable"><TBODY>
<TR>
@@ -390,7 +409,7 @@
</TBODY></TABLE>
<P><SUP>2</SUP> <B>Note</B>: If you are using the Producer JMS System to
create the producers, you need not bother with these settings, as this will be
overwritten by the destination distribution method. i.e. if you specify 2
producers, 5 destinations, and equal distribution, producer 1 will have a
destCount=2 and a destIndex=0, while producer 2 will have a destCount=2, and a
destIndex=2. Any previous value will be overwritten.</P>
-<H2><A
name="ActiveMQPerformanceModuleUsersManual-ConfigurationforrunningaJMSConsumer"></A>Configuration
for running a JMS Consumer</H2>
+<H3><A
name="ActiveMQPerformanceModuleUsersManual-ConfigurationforrunningaJMSConsumer"></A>Configuration
for running a JMS Consumer</H3>
<TABLE class="confluenceTable"><TBODY>
<TR>
@@ -485,7 +504,7 @@
</TBODY></TABLE>
<P><SUP>3</SUP> <B>Note</B>: If you are using the Consumer JMS System to
create the consumers, you need not bother with these settings, as this will be
overwritten by the destination distribution method. i.e. if you specify 2
consumer, 5 destinations, and equal distribution, consumer 1 will have a
destCount=2 and a destIndex=0, while consumer 2 will have a destCount=2, and a
destIndex=2. Any previous value will be overwritten. Although, it should be
noted that unless composite destination is supported and specified, each
consumer will choose only one destination to receive from.</P>
-<H2><A
name="ActiveMQPerformanceModuleUsersManual-ConfigurationforSPIConnectionFactory%3Aorg.apache.activemq.tool.spi.ActiveMQPojoSPI"></A>Configuration
for SPI Connection Factory: org.apache.activemq.tool.spi.ActiveMQPojoSPI</H2>
+<H3><A
name="ActiveMQPerformanceModuleUsersManual-ConfigurationforSPIConnectionFactory%3Aorg.apache.activemq.tool.spi.ActiveMQPojoSPI"></A>Configuration
for SPI Connection Factory: org.apache.activemq.tool.spi.ActiveMQPojoSPI</H3>
<P><B>Description:</B> This provides details in configuring the JMS Connection
Factory created by ActiveMQPojoSPI. Default values are based from the default
values of the service provider
org.apache.activemq.ActiveMQConnectionFactory.</P>
<TABLE class="confluenceTable"><TBODY>
@@ -585,7 +604,7 @@
</TR>
</TBODY></TABLE>
-<H2><A
name="ActiveMQPerformanceModuleUsersManual-ConfigurationforSPIConnectionFactory%3Aorg.apache.activemq.tool.spi.ActiveMQClassLoaderSPI"></A>Configuration
for SPI Connection Factory:
org.apache.activemq.tool.spi.ActiveMQClassLoaderSPI</H2>
+<H3><A
name="ActiveMQPerformanceModuleUsersManual-ConfigurationforSPIConnectionFactory%3Aorg.apache.activemq.tool.spi.ActiveMQClassLoaderSPI"></A>Configuration
for SPI Connection Factory:
org.apache.activemq.tool.spi.ActiveMQClassLoaderSPI</H3>
<P><B>Description:</B> This provides details in configuring the JMS Connection
Factory created by ActiveMQClassLoaderSPI. Default values are based from the
default values of the service provider
org.apache.activemq.ActiveMQConnectionFactory.</P>
@@ -627,7 +646,7 @@
<DIV id="site-footer">
Added by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=aco">Adrian
Co</A>,
last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James
Strachan</A> on Jun 07, 2006
- (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=8591&originalId=8603">view
change</A>)
+ (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=8591&originalId=8607">view
change</A>)
(<A
href="http://goopen.org/confluence/pages/editpage.action?pageId=8591">edit
page</A>)
</DIV>