Este conteúdo não está disponível no idioma selecionado.
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}}}"
"my-queue;{create:always, node: {properties: {lifetime-policy: delete-if-empty}}}"