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++ Integration</A></LI>
+ <LI><A href="activemq-c-clients.html" title="ActiveMQ C++
Clients">C++ 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"><broker useJmx=<SPAN class="code-quote">"<SPAN
class="code-keyword">false</SPAN>"</SPAN> xmlns=<SPAN
class="code-quote">"http:<SPAN
class="code-comment">//activemq.org/config/1.0"</SPAN>>
+</SPAN>
+ <persistenceAdapter>
+ <journaledJDBC dataDirectory=<SPAN
class="code-quote">"/sharedFileSystem/broker"</SPAN>/>
+ </persistenceAdapter></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
- (<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
+ (<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>