activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1357677 - /activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/store/leveldb/leveldb.xml
Date Thu, 05 Jul 2012 15:24:09 GMT
Author: tabish
Date: Thu Jul  5 15:24:08 2012
New Revision: 1357677

URL: http://svn.apache.org/viewvc?rev=1357677&view=rev
Log:
Fix the test as the recent fixes ensure that for a non-persistent broker config, there is
not a persistent DB store.

Modified:
    activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/store/leveldb/leveldb.xml

Modified: activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/store/leveldb/leveldb.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/store/leveldb/leveldb.xml?rev=1357677&r1=1357676&r2=1357677&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/store/leveldb/leveldb.xml
(original)
+++ activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/store/leveldb/leveldb.xml
Thu Jul  5 15:24:08 2012
@@ -6,9 +6,9 @@
     The ASF licenses this file to You under the Apache License, Version 2.0
     (the "License"); you may not use this file except in compliance with
     the License.  You may obtain a copy of the License at
-   
+
     http://www.apache.org/licenses/LICENSE-2.0
-   
+
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -21,30 +21,28 @@
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
   http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">
-  
+
     <!-- normal ActiveMQ XML config which is less verbose & can be validated -->
     <amq:broker brokerName="brokerConfigTest" populateJMSXUserID="false"
         useLoggingForShutdownErrors="true" useJmx="true"
-        persistent="false" vmConnectorURI="vm://javacoola"
+        persistent="true" vmConnectorURI="vm://javacoola"
         useShutdownHook="false" deleteAllMessagesOnStartup="true">
 
-
-
         <amq:persistenceAdapter>
             <amq:levelDB directory = "target/activemq-data"/>
         </amq:persistenceAdapter>
 
         <amq:systemUsage>
             <amq:systemUsage>
-	            <amq:memoryUsage>
-    	            <amq:memoryUsage limit="10 mb" percentUsageMinDelta="20"/>
-	            </amq:memoryUsage>
-	            <amq:storeUsage>
-    	            <amq:storeUsage limit="1 gb" name="foo"/>
-	            </amq:storeUsage>
-	            <amq:tempUsage>
-    	            <amq:tempUsage limit="100 mb"/>
-	            </amq:tempUsage>
+                <amq:memoryUsage>
+                    <amq:memoryUsage limit="10 mb" percentUsageMinDelta="20"/>
+                </amq:memoryUsage>
+                <amq:storeUsage>
+                    <amq:storeUsage limit="1 gb" name="foo"/>
+                </amq:storeUsage>
+                <amq:tempUsage>
+                    <amq:tempUsage limit="100 mb"/>
+                </amq:tempUsage>
             </amq:systemUsage>
         </amq:systemUsage>
 
@@ -52,7 +50,6 @@
             <amq:transportConnector uri="tcp://localhost:61635"/>
         </amq:transportConnectors>
 
-
     </amq:broker>
 
 </beans>



Mime
View raw message