You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/10/30 10:52:26 UTC

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

    [ https://issues.apache.org/jira/browse/AMQ-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808904#comment-13808904 ] 

Claus Ibsen commented on AMQ-4580:
----------------------------------

Hmm this would need for all options to somehow have a default value associated. Sounds a bit dangerous as users dont know what the default values would be then.

> ActiveMQ <systemUsage> configuration.
> -------------------------------------
>
>                 Key: AMQ-4580
>                 URL: https://issues.apache.org/jira/browse/AMQ-4580
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: krishna
>            Priority: Trivial
>             Fix For: 5.10.0
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)