From 3dfe835be7ad47747ebc2154b882fc2a0d7b0c9e Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Mon, 20 May 2013 00:57:24 +0000 Subject: QPID-4685: additional documentation updates following broker configuration model changes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1484370 13f79535-47bb-0310-9956-ffa450edef68 --- .../Java-Broker-Virtual-Hosts-Configuration.xml | 58 +++++++++------------- 1 file changed, 23 insertions(+), 35 deletions(-) (limited to 'qpid/doc/book/src/java-broker/Java-Broker-Virtual-Hosts-Configuration.xml') diff --git a/qpid/doc/book/src/java-broker/Java-Broker-Virtual-Hosts-Configuration.xml b/qpid/doc/book/src/java-broker/Java-Broker-Virtual-Hosts-Configuration.xml index 97a6558ba3..14f9f08147 100644 --- a/qpid/doc/book/src/java-broker/Java-Broker-Virtual-Hosts-Configuration.xml +++ b/qpid/doc/book/src/java-broker/Java-Broker-Virtual-Hosts-Configuration.xml @@ -19,43 +19,31 @@ under the License. --> + + Virtual Host XML configuration file -
- Configuring Virtual Host using configuration file - This section describes how to configure Virtual Host using configuration XML. - Virtual Host configuration XML can hold configuration for a single Virtual Host or multiple Virtual Hosts. - When multiple Virtual Hosts are configured a section for the each virtual host needs to be added. It should contain a tag - having the same name as virtual host. +
+ Introduction + + This chapter describes how to configure Virtual Hosts using an XML file. - -<virtualhosts> - ... - <virtualhost> - <name>test</name> - <test> - ... - </test> - </virtualhost> - - <virtualhost> - <name>development</name> - <development> - ... - </development> - </virtualhost> - ... -</virtualhosts> - - - A configuration section for a virtual host "test" - A configuration section for a virtual host "development" - + + This is no longer the preferred approach for + defining a VirtualHost and will likely be removed + in a future release, however it is currently neccessary to support certain use cases such as per-virtualhost attribute + configuration, and specialised store configuration such as for the BDB HA Message Store + + + Each XML Virtual Host configuration file can hold configuration for a single Virtual Host or multiple Virtual Hosts. + For an example file (with multiple VirtualHosts), see + +
Configuring ACL provides the details of ACL, rules, formats, etc. - To apply an ACL on a single virtualhost named test, add the following to the config.xml: + To apply an ACL on a single virtualhost named test, add the following to the virtualhosts.xml: @@ -489,7 +477,7 @@
-
+
An example of virtual host configuration file An example of virtual host configuration file @@ -502,7 +490,7 @@ org.apache.qpid.server.store.MemoryMessageStore + ${QPID_WORK}/derbystore/localhost--> @@ -562,7 +550,7 @@ org.apache.qpid.server.store.MemoryMessageStore + ${QPID_WORK}/derbystore/development--> @@ -602,7 +590,7 @@ org.apache.qpid.server.store.derby.DerbyMessageStore - ${QPID_WORK}/derbystore + ${QPID_WORK}/derbystore/test @@ -640,4 +628,4 @@
-
\ No newline at end of file + -- cgit v1.2.1