activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r936167 - in /websites/production/activemq/content: cache/main.pageCache pluggable-storage-lockers.html
Date Wed, 14 Jan 2015 15:21:10 GMT
Author: buildbot
Date: Wed Jan 14 15:21:10 2015
New Revision: 936167

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/pluggable-storage-lockers.html

Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/activemq/content/pluggable-storage-lockers.html
==============================================================================
--- websites/production/activemq/content/pluggable-storage-lockers.html (original)
+++ websites/production/activemq/content/pluggable-storage-lockers.html Wed Jan 14 15:21:10
2015
@@ -90,7 +90,7 @@
 		</locker>
 	</kahaDB>
 &lt;/persistenceAdapter&gt;]]></script>
-</div></div><p>This locker doesn't implement the&#160;<code>keepAlive</code>
method so there's no point in using <code>lockKeepAlivePeriod</code> settings.
Note that as of ActiveMQ 5.9.0 the KahaDB persistence adapter can also use the Lease Database
Locker (see below).</p><h3 id="Pluggablestoragelockers-DatabaseLocker">Database
Locker</h3><p>The Database Locker is the default locker for the JDBC persistence
adapter. It locks a database table in a transaction to ensure that only single resource is
used. You can configure it like this:</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+</div></div><p>This locker implements the keepAlive method from 5.9.0 onwards
so there's no point in using lockKeepAlivePeriod settings on older versions than ActiveMQ
5.9.0. Note that as of ActiveMQ 5.9.0 the KahaDB persistence adapter can also use the Lease
Database Locker (see below).</p><h3 id="Pluggablestoragelockers-DatabaseLocker">Database
Locker</h3><p>The Database Locker is the default locker for the JDBC persistence
adapter. It locks a database table in a transaction to ensure that only single resource is
used. You can configure it like this:</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;persistenceAdapter&gt;
     &lt;jdbcPersistenceAdapter dataDirectory=&quot;${activemq.data}&quot; dataSource=&quot;#mysql-ds&quot;
lockKeepAlivePeriod=&quot;10000&quot;&gt;
         &lt;locker&gt;



Mime
View raw message