activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r696755 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/FixedSizedSubscriptionRecoveryPolicy.java
Date Thu, 18 Sep 2008 18:35:39 GMT
Author: rajdavies
Date: Thu Sep 18 11:35:39 2008
New Revision: 696755

URL: http://svn.apache.org/viewvc?rev=696755&view=rev
Log:
Fix fir https://issues.apache.org/activemq/browse/AMQ-1945

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/FixedSizedSubscriptionRecoveryPolicy.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/FixedSizedSubscriptionRecoveryPolicy.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/FixedSizedSubscriptionRecoveryPolicy.java?rev=696755&r1=696754&r2=696755&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/FixedSizedSubscriptionRecoveryPolicy.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/FixedSizedSubscriptionRecoveryPolicy.java
Thu Sep 18 11:35:39 2008
@@ -39,9 +39,13 @@
 public class FixedSizedSubscriptionRecoveryPolicy implements SubscriptionRecoveryPolicy {
 
     private MessageList buffer;
-    private int maximumSize = 100 * 64 * 1024;
+    private int maximumSize =  64 * 1024;
     private boolean useSharedBuffer = true;
 
+    public FixedSizedSubscriptionRecoveryPolicy() {
+        
+    }
+    
     public SubscriptionRecoveryPolicy copy() {
         FixedSizedSubscriptionRecoveryPolicy rc = new FixedSizedSubscriptionRecoveryPolicy();
         rc.setMaximumSize(maximumSize);



Mime
View raw message