Qpid
  1. Qpid
  2. QPID-3203

Add ability to require an empty queue before autodeleting

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      At present an auto-deleted queue is eligible for deletion when either the session declaring it ends (if exclusive) or when the consumer count drops to 0 (if not exclusive). In some cases it would be nice to configure things such that the queue must also contain no messages for it to be eligible for deletion.

      In other words, if auto-deletion is a means of cleaning up unused queues, we want a broader/richer notion of in-use that could include the fact that the queue contains messages.

        Activity

        Hide
        Justin Ross added a comment -
        Show
        Justin Ross added a comment - Released in Qpid 0.24, http://qpid.apache.org/releases/qpid-0.24/index.html
        Hide
        Gordon Sim added a comment -

        This was addressed in the solution for QPID-4976. You can now specify qpid.lifetime-policy as delete-if-unused-and-empty in the arguments/properties for the declaring/creating the queue to get the required behaviour.

        Show
        Gordon Sim added a comment - This was addressed in the solution for QPID-4976 . You can now specify qpid.lifetime-policy as delete-if-unused-and-empty in the arguments/properties for the declaring/creating the queue to get the required behaviour.

          People

          • Assignee:
            Gordon Sim
            Reporter:
            Gordon Sim
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development