Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B1FADD5C for ; Tue, 21 May 2013 13:23:21 +0000 (UTC) Received: (qmail 71960 invoked by uid 500); 21 May 2013 13:23:19 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 71617 invoked by uid 500); 21 May 2013 13:23:18 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 71150 invoked by uid 99); 21 May 2013 13:23:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 13:23:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 13:23:16 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 82AC3238897A for ; Tue, 21 May 2013 13:22:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r862618 - in /websites/production/activemq/content: cache/docs.pageCache cache/main.pageCache pure-master-slave.html Date: Tue, 21 May 2013 13:22:56 -0000 To: commits@activemq.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130521132256.82AC3238897A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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

Configuring the authentication of the Slave

-

In ActiveMQ 4.1 or later you can use a <masterConnector/> element as an aternative XML configuration mechanism as shown in the following example to configure the user and password that the slave will use to connect to the master

+

In ActiveMQ 4.1 or later you can use a <masterConnector/> element as an alternative XML configuration mechanism as shown in the following example to configure the user and password that the slave will use to connect to the master

-
Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20
+
+
+<broker brokerName="slave" useJmx="false"  deleteAllMessagesOnStartup="true"  xmlns="http://activemq.apache.org/schema/core">
+    <services>
+      <masterConnector remoteURI= "tcp://localhost:62001" userName="James" password="Cheese"/>
+    </services>
+
+    <transportConnectors>
+      <transportConnector uri="tcp://localhost:62002"/>
+    </transportConnectors>
+  </broker>
+
+