From 30fe17834cdb3ae578738208e1927bc78ac30e9b Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Thu, 1 Nov 2007 20:26:50 +0000 Subject: [PATCH] Fix for https://issues.apache.org/activemq/browse/AMQ-1485 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@591142 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/activemq/store/amq/AMQPersistenceAdapter.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java b/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java index 0c4e249889..c6220d97f2 100644 --- a/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java +++ b/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java @@ -784,6 +784,12 @@ public class AMQPersistenceAdapter implements PersistenceAdapter, UsageListener, return indexPageSize; } + /** + * When set using XBean, you can use values such as: "20 + * mb", "1024 kb", or "1 gb" + * + * @org.apache.xbean.Property propertyEditor="org.apache.activemq.util.MemoryPropertyEditor" + */ public void setIndexPageSize(int indexPageSize) { this.indexPageSize = indexPageSize; }