Author: buildbot
Date: Tue May 21 13:22:56 2013
New Revision: 862618
Log:
Production update by buildbot for activemq
Modified:
websites/production/activemq/content/cache/docs.pageCache
websites/production/activemq/content/cache/main.pageCache
websites/production/activemq/content/pure-master-slave.html
Modified: websites/production/activemq/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/activemq/content/pure-master-slave.html
==============================================================================
--- websites/production/activemq/content/pure-master-slave.html (original)
+++ websites/production/activemq/content/pure-master-slave.html Tue May 21
13:22:56 2013
@@ -144,9 +144,21 @@ To identify a broker as a slave - there
<h3><a shape="rect"
name="PureMasterSlave-ConfiguringtheauthenticationoftheSlave"></a>Configuring
the authentication of the Slave</h3>
-<p>In ActiveMQ 4.1 or later you can use a <b><masterConnector/></b>
element as an aternative XML configuration mechanism as shown in the following
<a shape="rect" class="external-link"
href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/ft/slave2.xml">example</a>
to configure the user and password that the slave will use to connect to the
master</p>
+<p>In ActiveMQ 4.1 or later you can use a <b><masterConnector/></b>
element as an alternative XML configuration mechanism as shown in the following
<a shape="rect" class="external-link"
href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/ft/slave2.xml">example</a>
to configure the user and password that the slave will use to connect to the
master</p>
-<div class="error"><span class="error">Error formatting macro: snippet:
java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
+<pre class="code-java">
+<broker brokerName=<span class="code-quote">"slave"</span> useJmx=<span
class="code-quote">"<span class="code-keyword">false</span>"</span>
deleteAllMessagesOnStartup=<span class="code-quote">"<span
class="code-keyword">true</span>"</span> xmlns=<span
class="code-quote">"http:<span
class="code-comment">//activemq.apache.org/schema/core"</span>>
+</span> <services>
+ <masterConnector remoteURI= <span class="code-quote">"tcp:<span
class="code-comment">//localhost:62001"</span> userName=<span
class="code-quote">"James"</span> password=<span
class="code-quote">"Cheese"</span>/>
+</span> </services>
+
+ <transportConnectors>
+ <transportConnector uri=<span class="code-quote">"tcp:<span
class="code-comment">//localhost:62002"</span>/>
+</span> </transportConnectors>
+ </broker>
+</pre>
+</div></div>
</div>
</td>
<td valign="top">