activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r784348 - in /activemq/trunk/activemq-core/src/main/resources: activemq.xsd activemq.xsd.html activemq.xsd.wiki
Date Sat, 13 Jun 2009 08:10:08 GMT
Author: rajdavies
Date: Sat Jun 13 08:10:08 2009
New Revision: 784348

URL: http://svn.apache.org/viewvc?rev=784348&view=rev
Log:
updates xsd for KahaDB

Modified:
    activemq/trunk/activemq-core/src/main/resources/activemq.xsd
    activemq/trunk/activemq-core/src/main/resources/activemq.xsd.html
    activemq/trunk/activemq-core/src/main/resources/activemq.xsd.wiki

Modified: activemq/trunk/activemq-core/src/main/resources/activemq.xsd
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/resources/activemq.xsd?rev=784348&r1=784347&r2=784348&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/resources/activemq.xsd (original)
+++ activemq/trunk/activemq-core/src/main/resources/activemq.xsd Sat Jun 13 08:10:08 2009
@@ -544,6 +544,7 @@
               <xs:element ref='tns:amqPersistenceAdapter'/>
               <xs:element ref='tns:jdbcPersistenceAdapter'/>
               <xs:element ref='tns:journalPersistenceAdapter'/>
+              <xs:element ref='tns:kahaDB'/>
               <xs:element ref='tns:kahaPersistenceAdapter'/>
               <xs:element ref='tns:memoryPersistenceAdapter'/>
               <xs:element ref='tns:journaledJDBC'/>
@@ -2695,6 +2696,7 @@
               <xs:element ref='tns:amqPersistenceAdapter'/>
               <xs:element ref='tns:jdbcPersistenceAdapter'/>
               <xs:element ref='tns:journalPersistenceAdapter'/>
+              <xs:element ref='tns:kahaDB'/>
               <xs:element ref='tns:kahaPersistenceAdapter'/>
               <xs:element ref='tns:memoryPersistenceAdapter'/>
               <xs:any namespace='##other'/>
@@ -2856,6 +2858,37 @@
     </xs:complexType>
   </xs:element>
 
+<!-- element for type: org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter -->
+  <xs:element name='kahaDB'>
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element name='size' minOccurs='0' maxOccurs='1'>
+          <xs:complexType>
+            <xs:sequence minOccurs='0' maxOccurs='1'><xs:any namespace='##other'/></xs:sequence>
+          </xs:complexType>
+        </xs:element>
+        <xs:element name='usageManager' minOccurs='0' maxOccurs='1'>
+          <xs:complexType>
+            <xs:choice minOccurs='0' maxOccurs='1'>
+              <xs:element ref='tns:systemUsage'/>
+              <xs:any namespace='##other'/>
+            </xs:choice>
+          </xs:complexType>
+        </xs:element>
+        <xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
+      </xs:sequence>
+      <xs:attribute name='brokerName' type='xs:string'/>
+      <xs:attribute name='directory' type='xs:string'/>
+      <xs:attribute name='indexWriteBatchSize' type='xs:integer'/>
+      <xs:attribute name='journalMaxFileLength' type='xs:long'/>
+      <xs:attribute name='enableIndexWriteAsync' type='xs:boolean'/>
+      <xs:attribute name='enableJournalDiskSyncs' type='xs:boolean'/>
+      <xs:attribute name='size' type='xs:string'/>
+      <xs:attribute name='usageManager' type='xs:string'/>
+      <xs:attribute name='id' type='xs:ID'/>
+      <xs:anyAttribute namespace='##other' processContents='lax'/>
+    </xs:complexType>
+  </xs:element>
 
   <!-- element for type: org.apache.activemq.store.kahadaptor.KahaPersistenceAdapter -->
   <xs:element name='kahaPersistenceAdapter'>
@@ -4842,6 +4875,7 @@
               <xs:element ref='tns:amqPersistenceAdapter'/>
               <xs:element ref='tns:jdbcPersistenceAdapter'/>
               <xs:element ref='tns:journalPersistenceAdapter'/>
+              <xs:element ref='tns:kahaDB'/>
               <xs:element ref='tns:kahaPersistenceAdapter'/>
               <xs:element ref='tns:memoryPersistenceAdapter'/>
               <xs:any namespace='##other'/>
@@ -4946,6 +4980,7 @@
               <xs:element ref='tns:amqPersistenceAdapter'/>
               <xs:element ref='tns:jdbcPersistenceAdapter'/>
               <xs:element ref='tns:journalPersistenceAdapter'/>
+              <xs:element ref='tns:kahaDB'/>
               <xs:element ref='tns:kahaPersistenceAdapter'/>
               <xs:element ref='tns:memoryPersistenceAdapter'/>
               <xs:any namespace='##other'/>

Modified: activemq/trunk/activemq-core/src/main/resources/activemq.xsd.html
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/resources/activemq.xsd.html?rev=784348&r1=784347&r2=784348&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/resources/activemq.xsd.html (original)
+++ activemq/trunk/activemq-core/src/main/resources/activemq.xsd.html Sat Jun 13 08:10:08
2009
@@ -140,6 +140,7 @@
 {@link Journal} and then check pointing asynchronously on a timeout with some
 other long term persistent storage.</td><td>org.apache.activemq.store.journal.JournalPersistenceAdapter</td></tr>
   <tr><td><a href='#journaledJDBC'>journaledJDBC</a></td><td>Creates
a default persistence model using the Journal and JDBC</td><td>org.apache.activemq.store.PersistenceAdapterFactoryBean</td></tr>
+  <tr><td><a href='#kahaDB'>kahaDB</a></td><td></td><td>org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter</td></tr>
   <tr><td><a href='#kahaPersistenceAdapter'>kahaPersistenceAdapter</a></td><td></td><td>org.apache.activemq.store.kahadaptor.KahaPersistenceAdapter</td></tr>
   <tr><td><a href='#lDAPAuthorizationMap'>lDAPAuthorizationMap</a></td><td>An
{@link AuthorizationMap} which uses LDAP</td><td>org.apache.activemq.security.LDAPAuthorizationMap</td></tr>
   <tr><td><a href='#lastImageSubscriptionRecoveryPolicy'>lastImageSubscriptionRecoveryPolicy</a></td><td>This
implementation of {@link SubscriptionRecoveryPolicy} will only keep the
@@ -459,7 +460,7 @@
   <tr><td>networkConnectorURIs</td><td>(&lt;spring:bean/&gt;)*</td><td></td></tr>
   <tr><td>networkConnectors</td><td>(<a href='#ldapNetworkConnector'>ldapNetworkConnector</a>
| <a href='#multicastNetworkConnector'>multicastNetworkConnector</a> | <a href='#networkConnector'>networkConnector</a>)*</td><td>Sets
the network connectors which this broker will use to connect to
 other brokers in a federated network</td></tr>
-  <tr><td>persistenceAdapter</td><td><a href='#amqPersistenceAdapter'>amqPersistenceAdapter</a>
| <a href='#jdbcPersistenceAdapter'>jdbcPersistenceAdapter</a> | <a href='#journalPersistenceAdapter'>journalPersistenceAdapter</a>
| <a href='#kahaPersistenceAdapter'>kahaPersistenceAdapter</a> | <a href='#memoryPersistenceAdapter'>memoryPersistenceAdapter</a></td><td>Sets
the persistence adaptor implementation to use for this broker</td></tr>
+  <tr><td>persistenceAdapter</td><td><a href='#amqPersistenceAdapter'>amqPersistenceAdapter</a>
| <a href='#jdbcPersistenceAdapter'>jdbcPersistenceAdapter</a> | <a href='#journalPersistenceAdapter'>journalPersistenceAdapter</a>
| <a href='#kahaPersistenceAdapter'>kahaPersistenceAdapter</a> | <a href='#kahaDB'>kahaDB</a>
| <a href='#memoryPersistenceAdapter'>memoryPersistenceAdapter</a></td><td>Sets
the persistence adaptor implementation to use for this broker</td></tr>
   <tr><td>persistenceFactory</td><td><a href='#amqPersistenceAdapterFactory'>amqPersistenceAdapterFactory</a>
| <a href='#journaledJDBC'>journaledJDBC</a></td><td></td></tr>
   <tr><td>persistenceTaskRunnerFactory</td><td>&lt;spring:bean/&gt;</td><td></td></tr>
   <tr><td>plugins</td><td>(<a href='#authorizationPlugin'>authorizationPlugin</a>
| <a href='#connectionDotFilePlugin'>connectionDotFilePlugin</a> | <a href='#destinationDotFilePlugin'>destinationDotFilePlugin</a>
| <a href='#jaasAuthenticationPlugin'>jaasAuthenticationPlugin</a> | <a href='#jaasCertificateAuthenticationPlugin'>jaasCertificateAuthenticationPlugin</a>
| <a href='#loggingBrokerPlugin'>loggingBrokerPlugin</a> | <a href='#multicastTraceBrokerPlugin'>multicastTraceBrokerPlugin</a>
| <a href='#simpleAuthenticationPlugin'>simpleAuthenticationPlugin</a> | <a
href='#timeStampingBrokerPlugin'>timeStampingBrokerPlugin</a> | <a href='#udpTraceBrokerPlugin'>udpTraceBrokerPlugin</a>)*</td><td>Sets
a number of broker plugins to install such as for security
@@ -935,7 +936,7 @@
 <table>
   <tr><th>Element</th><th>Type</th><th>Description</th>
   <tr><td>journal</td><td>&lt;spring:bean/&gt;</td><td></td></tr>
-  <tr><td>longTermPersistence</td><td><a href='#amqPersistenceAdapter'>amqPersistenceAdapter</a>
| <a href='#jdbcPersistenceAdapter'>jdbcPersistenceAdapter</a> | <a href='#journalPersistenceAdapter'>journalPersistenceAdapter</a>
| <a href='#kahaPersistenceAdapter'>kahaPersistenceAdapter</a> | <a href='#memoryPersistenceAdapter'>memoryPersistenceAdapter</a></td><td></td></tr>
+  <tr><td>longTermPersistence</td><td><a href='#amqPersistenceAdapter'>amqPersistenceAdapter</a>
| <a href='#jdbcPersistenceAdapter'>jdbcPersistenceAdapter</a> | <a href='#journalPersistenceAdapter'>journalPersistenceAdapter</a>
| <a href='#kahaPersistenceAdapter'>kahaPersistenceAdapter</a> | <a href='#kahaDB'>kahaDB</a>
| <a href='#memoryPersistenceAdapter'>memoryPersistenceAdapter</a></td><td></td></tr>
   <tr><td>taskRunnerFactory</td><td>&lt;spring:bean/&gt;</td><td></td></tr>
   <tr><td>usageManager</td><td><a href='#systemUsage'>systemUsage</a></td><td></td></tr>
 </table>
@@ -966,6 +967,21 @@
   <tr><td>statements</td><td><a href='#statements'>statements</a></td><td></td></tr>
   <tr><td>taskRunnerFactory</td><td>&lt;spring:bean/&gt;</td><td></td></tr>
 </table>
+<h2>Element: <a name='kahaDB'>kahaDB</a></h2>
+<table>
+  <tr><th>Attribute</th><th>Type</th><th>Description</th>
+  <tr><td>brokerName</td><td>xs:string</td><td></td></tr>
+  <tr><td>directory</td><td>xs:string</td><td></td></tr>
+  <tr><td>journalMaxFileLength</td><td>xs:long</td><td></td></tr>
+  <tr><td>indexWriteBatchSize</td><td>xs:integer</td><td></td></tr>
+  <tr><td>enableIndexWriteAsync</td><td>xs:boolean</td><td></td></tr>
+  <tr><td>enableJournalDiskSyncs</td><td>xs:boolean</td><td></td></tr>
+</table>
+<table>
+  <tr><th>Element</th><th>Type</th><th>Description</th>
+  <tr><td>size</td><td>&lt;spring:bean/&gt;</td><td></td></tr>
+  <tr><td>usageManager</td><td><a href='#systemUsage'>systemUsage</a></td><td></td></tr>
+</table>
 <h2>Element: <a name='kahaPersistenceAdapter'>kahaPersistenceAdapter</a></h2>
 <table>
   <tr><th>Attribute</th><th>Type</th><th>Description</th>
@@ -1517,7 +1533,7 @@
   <tr><th>Element</th><th>Type</th><th>Description</th>
   <tr><td>limiter</td><td><a href='#defaultUsageCapacity'>defaultUsageCapacity</a>
| <a href='#usageCapacity'>usageCapacity</a></td><td></td></tr>
   <tr><td>parent</td><td>&lt;spring:bean/&gt;</td><td></td></tr>
-  <tr><td>store</td><td><a href='#amqPersistenceAdapter'>amqPersistenceAdapter</a>
| <a href='#jdbcPersistenceAdapter'>jdbcPersistenceAdapter</a> | <a href='#journalPersistenceAdapter'>journalPersistenceAdapter</a>
| <a href='#kahaPersistenceAdapter'>kahaPersistenceAdapter</a> | <a href='#memoryPersistenceAdapter'>memoryPersistenceAdapter</a></td><td></td></tr>
+  <tr><td>store</td><td><a href='#amqPersistenceAdapter'>amqPersistenceAdapter</a>
| <a href='#jdbcPersistenceAdapter'>jdbcPersistenceAdapter</a> | <a href='#journalPersistenceAdapter'>journalPersistenceAdapter</a>
| <a href='#kahaPersistenceAdapter'>kahaPersistenceAdapter</a> | <a href='#kahaDB'>kahaDB</a>
| <a href='#memoryPersistenceAdapter'>memoryPersistenceAdapter</a></td><td></td></tr>
 </table>
 <h2>Element: <a name='streamJDBCAdapter'>streamJDBCAdapter</a></h2>
 <table>
@@ -1541,7 +1557,7 @@
 </table>
 <table>
   <tr><th>Element</th><th>Type</th><th>Description</th>
-  <tr><td>adapter</td><td><a href='#amqPersistenceAdapter'>amqPersistenceAdapter</a>
| <a href='#jdbcPersistenceAdapter'>jdbcPersistenceAdapter</a> | <a href='#journalPersistenceAdapter'>journalPersistenceAdapter</a>
| <a href='#kahaPersistenceAdapter'>kahaPersistenceAdapter</a> | <a href='#memoryPersistenceAdapter'>memoryPersistenceAdapter</a></td><td></td></tr>
+  <tr><td>adapter</td><td><a href='#amqPersistenceAdapter'>amqPersistenceAdapter</a>
| <a href='#jdbcPersistenceAdapter'>jdbcPersistenceAdapter</a> | <a href='#journalPersistenceAdapter'>journalPersistenceAdapter</a>
| <a href='#kahaPersistenceAdapter'>kahaPersistenceAdapter</a> | <a href='#kahaDB'>kahaDB</a>
|<a href='#memoryPersistenceAdapter'>memoryPersistenceAdapter</a></td><td></td></tr>
   <tr><td>memoryUsage</td><td><a href='#memoryUsage'>memoryUsage</a></td><td></td></tr>
   <tr><td>parent</td><td><a href='#systemUsage'>systemUsage</a></td><td></td></tr>
   <tr><td>storeUsage</td><td><a href='#storeUsage'>storeUsage</a></td><td></td></tr>

Modified: activemq/trunk/activemq-core/src/main/resources/activemq.xsd.wiki
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/resources/activemq.xsd.wiki?rev=784348&r1=784347&r2=784348&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/resources/activemq.xsd.wiki (original)
+++ activemq/trunk/activemq-core/src/main/resources/activemq.xsd.wiki Sat Jun 13 08:10:08
2009
@@ -307,6 +307,7 @@
     | _[<journalPersistenceAdapter>|#journalPersistenceAdapter-element]_ | {html}An
implementation of {@link PersistenceAdapter} designed for use with a
 {@link Journal} and then check pointing asynchronously on a timeout with some
 other long term persistent storage.{html} |
+    | _[<kahaDB>|#kahaDB-element]_ | {html}{html} |
     | _[<kahaPersistenceAdapter>|#kahaPersistenceAdapter-element]_ | {html}{html} |
     | _[<memoryPersistenceAdapter>|#memoryPersistenceAdapter-element]_ | {html}{html}
|
 
@@ -1235,6 +1236,20 @@
 journal and just stores a reference to the messages in JDBC. Defaults to
 false so that messages actually reside long term in the JDBC database.{html} |
 
+{anchor:kahaDB-element}
+h3. The _[<kahaDB>|#kahaDB-element]_ Element
+    {html}{html}
+h4. Properties
+    || Property Name || Type || Description ||
+    | brokerName | _java.lang.String_ | {html}{html} |
+    | directory | _java.io.File_ | {html}{html} |
+    | journalMaxFileLength | _long_ | {html}{html} |
+    | indexWriteBatchSize | _int_ | {html}{html} |
+    | enableIndexWriteAsync | _boolean_ | {html}{html} |
+    | enableJournalDiskSyncs | _boolean_ | {html}{html} |
+    | size | _java.util.concurrent.atomic.AtomicLong_ | {html}{html} |
+    | usageManager | _[org.apache.activemq.usage.SystemUsage|#org.apache.activemq.usage.SystemUsage-types]_
| {html}{html} |
+
 {anchor:kahaPersistenceAdapter-element}
 h3. The _[<kahaPersistenceAdapter>|#kahaPersistenceAdapter-element]_ Element
     {html}{html}
@@ -2252,6 +2267,7 @@
 {@link Journal} and then check pointing asynchronously on a timeout with some
 other long term persistent storage.{html} |
     | _[<journaledJDBC>|#journaledJDBC-element]_ | {html}Creates a default persistence
model using the Journal and JDBC{html} |
+    | _[<kahaDB>|#kahaDB-element]_ | {html}{html} |
     | _[<kahaPersistenceAdapter>|#kahaPersistenceAdapter-element]_ | {html}{html} |
     | _[<lDAPAuthorizationMap>|#lDAPAuthorizationMap-element]_ | {html}An {@link AuthorizationMap}
which uses LDAP{html} |
     | _[<lastImageSubscriptionRecoveryPolicy>|#lastImageSubscriptionRecoveryPolicy-element]_
| {html}This implementation of {@link SubscriptionRecoveryPolicy} will only keep the



Mime
View raw message