From 902627453272d56affeff71506e429e9e494afd4 Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Fri, 12 Aug 2011 14:20:51 +0000 Subject: [PATCH] show the store location for a DB toString git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1157118 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/store/kahadb/KahaDBStore.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java b/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java index 7aeac28537..332cf37b48 100644 --- a/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java +++ b/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java @@ -100,6 +100,11 @@ public class KahaDBStore extends MessageDatabase implements PersistenceAdapter { this.transactionStore = new KahaDBTransactionStore(this); } + @Override + public String toString() { + return "KahaDB:[" + directory.getAbsolutePath() + "]"; + } + public void setBrokerName(String brokerName) { }