blob: 17690f0bc62a644421f451a4a5fdf36f47283ed9 [file] [log] [blame]
<div class="wiki-content maincontent"><h2 id="LoadTestingwithCamel-LoadTestingwithCamel">Load Testing with Camel</h2>
<p>It is preferable at the time of writing to check out the source of ActiveMQ and Camel and perform local builds first.</p>
<p>Then run a broker either via the <strong>bin/activemq</strong> script or you could be untar/unzip the <strong>assembly/target/apache-activemq</strong>.tar.gz* file first then run its <strong>bin/activemq</strong> script.</p>
<p>Now to run a load test type</p>
<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">
activemq/activemq-camel-loadtest&gt; mvn test -Dtest=LocalBrokerParallelProducerLoadTest
</pre>
</div></div>
<p>If you want to tinker with the configuration of ActiveMQ and Camel then edit the LocalBrokerParallelProducerLoadTest-context.xml file.</p></div>