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

Jeff Mesnil (JIRA) jira-events at lists.jboss.org
Mon Jun 22 04:45:56 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBMESSAGING-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Mesnil closed JBMESSAGING-1639.
------------------------------------

    Fix Version/s: 2.0.0.beta3
                       (was: 2.0.0)
       Resolution: Done


fixed in the trunk

> 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.beta3
>
>
> 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