blob: 69d78df57dbbf469f1b420d8de34895367774b26 [file] [log] [blame]
<div class="wiki-content maincontent">
<p>For Windows XP:</p>
<p>1. Download AIO (Asynchronous IO for Java) from IBM (<a shape="rect" href="http://www.alphaworks.ibm.com/tech/aio4j">http://www.alphaworks.ibm.com/tech/aio4j</a>).</p>
<p>2. Unzip the downloaded file and copy the following files: </p>
<ul><li>ibmaio.dll</li><li>ibmaio-1.0.jar</li></ul>
<p>3. Place ibmaio.dll into Windows System32 folder. (You may need to restart afterwards for this to take effect)</p>
<p>4. Include ibmaio-1.0.jar in the classpath.</p>
<p>5. Edit ActiveMQ's configuration file (<strong>activemq.xml</strong>, found in the conf folder). Look the following snippet:
<br clear="none" class="atl-forced-newline"></p>
<structured-macro ac:macro-id="8206c53e-2e9b-45bc-a393-0943547bde5e" ac:name="noformat" ac:schema-version="1"><plain-text-body>
&lt;!-- ==================================================================== --&gt;
&lt;!-- ActiveMQ Broker Configuration --&gt;
&lt;!-- ==================================================================== --&gt;
&lt;broker&gt;
&lt;connector&gt;
&lt;tcpServerTransport uri="tcp://localhost:61616" backlog="1000" useAsyncSend="true" maxOutstandingMessages="50"/&gt;
&lt;/connector&gt;
.
.
&lt;/broker&gt;
</plain-text-body></structured-macro>
<p><br clear="none" class="atl-forced-newline"></p>
<p> Change the connector settings, change <strong>tcpServerTransport</strong> to <strong>serverTransport</strong> and remove the unneeded parameters):
<br clear="none" class="atl-forced-newline"></p>
<structured-macro ac:macro-id="910ac916-db01-4ecd-92d7-49c2996bc791" ac:name="noformat" ac:schema-version="1"><plain-text-body>
&lt;connector&gt;
&lt;serverTransport uri="activeio:aio://&lt;ip address&gt;:&lt;port&gt;" /&gt;
&lt;/connector&gt;
</plain-text-body></structured-macro>
<p><br clear="none" class="atl-forced-newline"></p>
<p> Example:
<br clear="none" class="atl-forced-newline"></p>
<structured-macro ac:macro-id="e6ac3503-9331-425d-8a3c-e928fd877cac" ac:name="noformat" ac:schema-version="1"><plain-text-body>
&lt;connector&gt;
&lt;serverTransport uri="activeio:aio://192.168.0.162:61616" /&gt;
&lt;/connector&gt;
</plain-text-body></structured-macro></div>