Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
M4
-
None
Description
As a first step towards improving the Java broker configuration as per http://cwiki.apache.org/confluence/display/qpid/Java+Broker+Configuration+Design
Utilise the ConfigurationFactory code provided by Commons Configuration to allow the splitting out of the virtualhost configuration and so allowing the validation of the other sections. This would mean our initial config.xml file would be come something like this:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<configuration>
<xml fileName="${QPID_HOME}/etc/environment.xml" validating="false"/>
<-xml fileName="${QPID_HOME}/etc/user-config.xml" validating="false" optional="true"/>
<xml fileName="${QPID_HOME}/etc/main-config.xml" validating="false"/>
<additional>
<xml fileName="${QPID_HOME}/etc/virtualhosts.xml" validating="false" at="virtualhosts"/>
</additional>
</configuration>