From f89bf4765f32d0778be73d74f5e3f96b90095f88 Mon Sep 17 00:00:00 2001 From: Bosanac Dejan Date: Wed, 9 Sep 2009 11:09:03 +0000 Subject: [PATCH] https://issues.apache.org/activemq/browse/AMQ-1894 - throughput configuration and changed default kahadb properties git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812885 13f79535-47bb-0310-9956-ffa450edef68 --- .../store/kahadb/MessageDatabase.java | 2 +- .../src/sample-conf/activemq-scalability.xml | 2 +- .../src/sample-conf/activemq-throughput.xml | 74 +++++++++++++++++++ 3 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 assembly/src/sample-conf/activemq-throughput.xml diff --git a/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java b/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java index 35b296cc88..dd1307936c 100644 --- a/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java +++ b/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java @@ -138,7 +138,7 @@ public class MessageDatabase { protected boolean deleteAllMessages; protected File directory; protected Thread checkpointThread; - protected boolean enableJournalDiskSyncs=true; + protected boolean enableJournalDiskSyncs=false; long checkpointInterval = 5*1000; long cleanupInterval = 30*1000; int journalMaxFileLength = Journal.DEFAULT_MAX_FILE_LENGTH; diff --git a/assembly/src/sample-conf/activemq-scalability.xml b/assembly/src/sample-conf/activemq-scalability.xml index a5848ae612..124c7e633d 100644 --- a/assembly/src/sample-conf/activemq-scalability.xml +++ b/assembly/src/sample-conf/activemq-scalability.xml @@ -60,7 +60,7 @@ http://activemq.apache.org/kahadb.html --> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +