[
https://issues.apache.org/jira/browse/AMQ-4309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
SuoNayi updated AMQ-4309:
-------------------------
Description:
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.
was:
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 for 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.
> 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