Split Java broker configuration into a number of files to allow validation.
---------------------------------------------------------------------------

                 Key: QPID-1612
                 URL: https://issues.apache.org/jira/browse/QPID-1612
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
    Affects Versions: M4
            Reporter: Martin Ritchie
             Fix For: M5


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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to