[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-1639) Validate configuration values programmatically

Jeff Mesnil (JIRA) jira-events at lists.jboss.org
Thu Jun 4 12:31:56 EDT 2009


Validate configuration values programmatically
----------------------------------------------

                 Key: JBMESSAGING-1639
                 URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1639
             Project: JBoss Messaging
          Issue Type: Feature Request
          Components: Configuration and Management
            Reporter: Jeff Mesnil
            Assignee: Jeff Mesnil
             Fix For: 2.0.0.CR1


using XSD to validate configuration values make the schema more complex and error-prone (the error messages are hard to understand too).

We should move to programmatic validation. E.g. in FileConfiguration, when we read the values from the configuration, we could add a validation step to check values (e.g. must be -1 or > 0 which is impossible to express in a XML Schema)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list