You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "krishna (JIRA)" <ji...@apache.org> on 2013/06/12 05:13:19 UTC

[jira] [Created] (AMQ-4580) ActiveMQ configuration.

krishna created AMQ-4580:
----------------------------

             Summary: ActiveMQ <systemUsage> configuration.
                 Key: AMQ-4580
                 URL: https://issues.apache.org/jira/browse/AMQ-4580
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
            Reporter: krishna
            Priority: Trivial


Hi , 

I am using Activemq 5.8.0 

If I do not mention anything about the <systemUsage> it is taking the default limit values for "memoryUsage", "storeUsage", "tempUsage". 

And my requirement is I just want to specify the "memoryUsage" as below in aactivemq.xml 

<systemUsage>
        <systemUsage>
                <memoryUsage>
                    <memoryUsage limit="50 MB"/>
                </memoryUsage>
            </systemUsage>
  </systemUsage>

but at this point of time when I started activemq I got an error as follow: 

ERROR | Store limit is 0 mb, whilst the max journal file size for the store is: 32 mb, the store will not accept any data when used. 

ERROR | Temporary Store limit is 0 mb, whilst the max journal file size for the temporary store is: 32 mb, the temp store will not accept any data when used. 

As it is not possible to specify only the "memoryUsage" limit and other two can get the default values, because as the defaults are provided when there is no explicit systemUsage element and via xbean the default creation method does not set a limit so it needs to be explicitly set.

I guess it would make for a nice simple enhancement if it take default for remaining.

Thank, 
Krishna.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira