Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4309

Add usage limit check when limit for destinations is present

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.x
    • 5.9.0
    • Broker
    • None
    • 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.

      Attachments

        1. Usage.java.patch
          0.6 kB
          SuoNayi

        Activity

          People

            Unassigned Unassigned
            wangyin SuoNayi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: