Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-1612

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M4
    • JIRA Cleanup
    • Broker-J
    • 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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            ritchiem Martin Ritchie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: