You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Bruce Snyder (JIRA)" <ji...@apache.org> on 2009/11/20 21:37:53 UTC

[jira] Closed: (AMQ-1138) Bean property 'limitMb' is not writable or has an invalid setter method

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

Bruce Snyder closed AMQ-1138.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: AGING_TO_DIE)

Looking at the XSD for the 4.1.2 release, this was resolved. 

> Bean property 'limitMb' is not writable or has an invalid setter method
> -----------------------------------------------------------------------
>
>                 Key: AMQ-1138
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1138
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 4.1.0
>            Reporter: Sandeep Chayapathi
>
> The XBean XML reference says that the usageManager element supports "limit", "limitMb" and "limitKb" properties:
> http://incubator.apache.org/activemq/xbean-xml-reference-41.html#XBeanXMLReference4.1-usageManagerelement
> However, setting either "limitMb" or "limitKb" throws the following error, while activemq is started:
> ---
> Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'limitMb' of bean class [org.apache.activemq.memory.UsageManager]: Bean property 'limitMb' is not writable or has an invalid setter method. Did you mean 'limit'?
> ---
> Also the default activemq.xml, has "limit" property set as "20 MB", where as the documentation says, the "limit" property, "Sets the memory limit in bytes". 

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