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

[jira] [Resolved] (AMQ-4309) Add usage limit check when limit for destinations is present

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

Christian Posta resolved AMQ-4309.
----------------------------------

    Resolution: Fixed

Fix with r1445474, thanks for the patch!
                
> Add usage limit check when limit for destinations is present
> ------------------------------------------------------------
>
>                 Key: AMQ-4309
>                 URL: https://issues.apache.org/jira/browse/AMQ-4309
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.x
>            Reporter: SuoNayi
>            Priority: Minor
>             Fix For: 5.9.0
>
>         Attachments: Usage.java.patch
>
>
> Since the usage limit is hierarchical so usage children should respect the parent usage limit.
> When usage limit value is greater than its parent,uses shoud be aware of the improper configuration.
> For example when I specify the usage limit for destinations and their value are all greater than the parent limit(here is broker's limit), the broker starts up silently and I do not know the improper configuration at all.
> A simple patch is provided that will check its limit and its parent limit and logs complaint when usage is started.

--
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