This illustration shows the use case diagram, Stopping a Queue in the AQ Administrative Interface.

To stop a queue, you must name the queue. You must also set the stop for enqueue to true (the default), or to false, which keeps the current setting. You must also set the stop for dequeue to true (the default), or to false, which keeps the current setting.

Further, you must set the wait to true (wait for ongoing transactions to complete, and do not allow news transactions), or set wait to false (stop if there is no ongoing transaction).