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.

Reply via email to