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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: M4
    • Fix Version/s: JIRA Cleanup
    • Component/s: Broker-J
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: