Show Table of Contents
6.5.3. Queue Deletion Checks
When a queue deletion is requested, the following checks occur:
- If ACL is enabled, the broker will check that the user who initiated the deletion has permission to do so.
- If the
ifEmptyflag is passed the broker will raise an exception if the queue is not empty - If the
ifUnusedflag is passed the broker will raise an exception if the queue has subscribers - If the queue is exclusive the broker will check that the user who initiated the deletion owns the queue

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.