summaryrefslogtreecommitdiff
path: root/qpid/java/broker/etc/config.xml
diff options
context:
space:
mode:
authorRobert Greig <rgreig@apache.org>2007-01-24 15:41:48 +0000
committerRobert Greig <rgreig@apache.org>2007-01-24 15:41:48 +0000
commit9068179bbf1ca717621bc993e66ecfcafbb3d959 (patch)
tree4328cbb28771f95a293f45fda86c82134bc0f8dd /qpid/java/broker/etc/config.xml
parente99bbab21e8364967d325e451d4ebea8be33f955 (diff)
downloadqpid-python-9068179bbf1ca717621bc993e66ecfcafbb3d959.tar.gz
QPID-50 : Patch supplied by Rob Godfrey - Virtual Host implementation
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@499446 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker/etc/config.xml')
-rw-r--r--qpid/java/broker/etc/config.xml35
1 files changed, 32 insertions, 3 deletions
diff --git a/qpid/java/broker/etc/config.xml b/qpid/java/broker/etc/config.xml
index 61e0e55138..779a434332 100644
--- a/qpid/java/broker/etc/config.xml
+++ b/qpid/java/broker/etc/config.xml
@@ -79,6 +79,37 @@
</mechanisms>
</sasl>
</security>
+ <virtualhosts>
+ <virtualhost>
+ <name>localhost</name>
+ <localhost>
+ <store>
+ <!-- <class>org.apache.qpid.server.store.berkeleydb.BDBMessageStore</class> -->
+ <class>org.apache.qpid.server.store.MemoryMessageStore</class>
+ <environment-path>localhost-store</environment-path>
+ </store>
+ </localhost>
+ </virtualhost>
+
+ <virtualhost>
+ <name>development</name>
+ <development>
+ <store>
+ <class>org.apache.qpid.server.store.MemoryMessageStore</class>
+ </store>
+ </development>
+ </virtualhost>
+
+ <virtualhost>
+ <name>test</name>
+ <test>
+ <store>
+ <class>org.apache.qpid.server.store.MemoryMessageStore</class>
+ </store>
+ </test>
+ </virtualhost>
+
+ </virtualhosts>
<heartbeat>
<delay>0</delay>
<timeoutFactor>2.0</timeoutFactor>
@@ -86,8 +117,6 @@
<queue>
<auto_register>true</auto_register>
</queue>
- <store>
- <class>org.apache.qpid.server.store.MemoryMessageStore</class>
- </store>
+
<virtualhosts>${conf}/virtualhosts.xml</virtualhosts>
</broker>