[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] Closed: (AMQ-1996) reinstate xbean autogeneration of
From:       "Gary Tully (JIRA)" <jira () apache ! org>
Date:       2009-10-29 8:56:52
Message-ID: 1895801707.1256806612797.JavaMail.jira () brutus
[Download RAW message or body]


     [ https://issues.apache.org/activemq/browse/AMQ-1996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Gary Tully closed AMQ-1996.
---------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 5.4.0)
                   5.3.0
         Assignee: Gary Tully

upgrade to xbean 3.6 fixed this. https://issues.apache.org/activemq/browse/AMQ-2342

> reinstate xbean autogeneration of avtivemq.xsd 
> -----------------------------------------------
> 
> Key: AMQ-1996
> URL: https://issues.apache.org/activemq/browse/AMQ-1996
> Project: ActiveMQ
> Issue Type: Improvement
> Affects Versions: 5.1.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Fix For: 5.3.0
> 
> 
> the xbean reflection schema generator is currently disabled because the generated \
> schema will not validate with the default activemq.xml configuration. The problem \
> is the use of PropertyEditor eg in PolicyEntry: {code}
> /**
> * @org.apache.xbean.Property \
>                 propertyEditor="org.apache.activemq.util.MemoryPropertyEditor"
> */
> public void setMemoryLimit(long memoryLimit) {
> this.memoryLimit = memoryLimit;
> }
> {code}
> The propertyEditor allows a String to be transformed into the long value but the \
> schema correctly required a long value and will not validate with a String. The \
> xbean schema generator probably needs to take account of the propertyEditor \
> annotation and substitute a String value in the schema for the memoryLimit (in this \
> case) attribute.

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic