ActiveMQ
  1. ActiveMQ
  2. AMQ-4309

Add usage limit check when limit for destinations is present

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.x
    • Fix Version/s: 5.9.0
    • Component/s: Broker
    • Labels:
      None
    • Patch Info:
      Patch Available

      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.

        Activity

        Hide
        Christian Posta added a comment -

        Fix with r1445474, thanks for the patch!

        Show
        Christian Posta added a comment - Fix with r1445474, thanks for the patch!

          People

          • Assignee:
            Unassigned
            Reporter:
            SuoNayi
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development