You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by bu...@apache.org on 2013/05/21 15:22:56 UTC

svn commit: r862618 - in /websites/production/activemq/content: cache/docs.pageCache cache/main.pageCache pure-master-slave.html

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>&lt;masterConnector/&gt;</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>&lt;masterConnector/&gt;</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">
+&lt;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>&gt;
+</span>    &lt;services&gt;
+      &lt;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>/&gt;
+</span>    &lt;/services&gt;
+
+    &lt;transportConnectors&gt;
+      &lt;transportConnector uri=<span class="code-quote">"tcp:<span class="code-comment">//localhost:62002"</span>/&gt;
+</span>    &lt;/transportConnectors&gt;
+  &lt;/broker&gt;
+</pre>
+</div></div>
           </div>
         </td>
         <td valign="top">