Show Table of Contents
1.5.9. Node Lifetime Policies
The 1.0 specification defines the following policies for nodes created in response to link establishment:
amqp:delete-on-close:list, amqp:delete-on-no-links:list, amqp:delete-on-no-messages:list, amqp:delete-on-no-links-or-messages:list.
The qpid::messaging API provides the following shortcut names:
delete-on-close, delete-if-unused, delete-if-empty or delete-if-unused-and-empty.
Lifetime Policies can be controlled through the node properties. For example:
"my-queue;{create:always, node: {properties: {lifetime-policy: delete-if-empty}}}"
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.