Qpid
  1. Qpid
  2. QPID-4470

[Java broker] Allow 'maximum queue depth' alerting threshold to be set when declaring queue from JMX/AMQP

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21
    • Component/s: Java Broker
    • Labels:
      None

      Description

      The Java Broker supports four queue alerting thresholds: maximum message count, maximum message size, maximum message age and maximum queue depth.

      It is possible to specify all four of these altering thresholds in the virtualhost configuration e.g.

              <maximumMessageCount>50</maximumMessageCount>
              <maximumMessageSize>2117632</maximumMessageSize>
              <maximumMessageAge>600000</maximumMessageAge>
              <maximumQueueDepth>4235264</maximumQueueDepth>
      

      but only the first three are supported by AMQP queue-declare/JMX createNewQueue (via the queue declare arguments x-qpid-maximum-message-count, x-qpid-maximum-message-count, x-qpid-maximum-message-age respectively).

      The change will add support for x-qpid-maximum-queue-depth.

        Activity

        Robbie Gemmell made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Robbie Gemmell added a comment -

        Looks good to me

        Show
        Robbie Gemmell added a comment - Looks good to me
        Robbie Gemmell made changes -
        Summary Allow 'maximum queue depth' queue alerting threshold to be set from JMX/AMQP [Java broker] Allow 'maximum queue depth' alerting threshold to be set when declaring queue from JMX/AMQP
        Keith Wall made changes -
        Assignee Keith Wall [ k-wall ] Robbie Gemmell [ gemmellr ]
        Hide
        Keith Wall added a comment -

        Hi Robbie, can you review this commit please?

        Show
        Keith Wall added a comment - Hi Robbie, can you review this commit please?
        Keith Wall made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Keith Wall made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Keith Wall made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Minor [ 4 ]
        Keith Wall created issue -

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Keith Wall
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development