activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r433684 - /incubator/activemq/site/shared-file-system-master-slave.html
Date Tue, 22 Aug 2006 16:41:01 GMT
Author: chirino
Date: Tue Aug 22 09:40:58 2006
New Revision: 433684

URL: http://svn.apache.org/viewvc?rev=433684&view=rev
Log:
Latest export from confluence

Modified:
    incubator/activemq/site/shared-file-system-master-slave.html

Modified: incubator/activemq/site/shared-file-system-master-slave.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/shared-file-system-master-slave.html?rev=433684&r1=433683&r2=433684&view=diff
==============================================================================
--- incubator/activemq/site/shared-file-system-master-slave.html (original)
+++ incubator/activemq/site/shared-file-system-master-slave.html Tue Aug 22 09:40:58 2006
@@ -185,7 +185,7 @@
 	<LI><A href="ajax.html" title="Ajax">Ajax</A></LI>
 	<LI><A href="axis-support.html" title="Axis Support">Axis Support</A></LI>
 	<LI><A href="c-integration.html" title="C Integration">C Integration</A></LI>
-	<LI><A href="activemq-cpp-client.html" title="ActiveMQ CPP Client">C+&#43;
Integration</A></LI>
+	<LI><A href="activemq-c-clients.html" title="ActiveMQ C++ Clients">C+&#43;
Integration</A></LI>
 	<LI><A href="nms.html" title="NMS">C# and .Net Integration</A></LI>
 	<LI><A href="cms.html" title="CMS">CMS</A></LI>
 	<LI><A href="geronimo.html" title="Geronimo">Geronimo</A></LI>
@@ -287,6 +287,16 @@
 
 <P>Basically you can run as many brokers as you wish from the same shared file system
directory. The first broker to grab the exclusive lock on the file is the master broker. If
that broker dies and releases the lock then another broker takes over. The slave brokers sit
in a loop trying to grab the lock from the master broker.</P>
 
+<P>The following example shows how to configure the broker for Shared File System Master
Slave where <B>/sharedFileSystem</B> is some directory on a shared file system</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">&lt;broker useJmx=<SPAN class="code-quote">&quot;<SPAN
class="code-keyword">false</SPAN>&quot;</SPAN>  xmlns=<SPAN class="code-quote">&quot;http:<SPAN
class="code-comment">//activemq.org/config/1.0&quot;</SPAN>&gt;
+</SPAN>  
+    &lt;persistenceAdapter&gt;
+      &lt;journaledJDBC dataDirectory=<SPAN class="code-quote">&quot;/sharedFileSystem/broker&quot;</SPAN>/&gt;
+    &lt;/persistenceAdapter&gt;</PRE>
+</DIV></DIV>
+
 <H3><A name="SharedFileSystemMasterSlave-Startup"></A>Startup</H3>
 
 <P>On startup one master grabs an exclusive lock on the broker file directory - all
other brokers are slaves and pause waiting for the exclusive lock.</P>
@@ -325,8 +335,8 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James
Strachan</A>,
-    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James
Strachan</A> on Jul 25, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=8828&originalId=9200">view
change</A>)
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James
Strachan</A> on Aug 22, 2006
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=8828&originalId=9758">view
change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=8828">edit
page</A>)
     </DIV>



Mime
View raw message