Bug 683597

Summary: Documentation update: How to use timed autodelete on queues
Product: Red Hat Enterprise MRG Reporter: Ted Ross <tross>
Component: Messaging_Programming_ReferenceAssignee: Alison Young <alyoung>
Status: CLOSED CURRENTRELEASE QA Contact: Frantisek Reznicek <freznice>
Severity: low Docs Contact:
Priority: low    
Version: 1.3CC: esammons, freznice, gsim, jneedle, sburgess
Target Milestone: 2.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-24 02:59:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 660526    
Bug Blocks: 585844, 660531    
Deadline: 2011-04-14   

Description Ted Ross 2011-03-09 19:45:04 UTC
The new feature "allow timed autodelete for queue" requires documentation in the programming document.

Comment 2 Alison Young 2011-03-31 02:26:12 UTC
Hi Ted,

Can you provide the content describing the new feature's? Method inputs, code
examples, expected outputs (if any) and error information in addition to
anything else you'd like documented.

Thanks,
Alison

Comment 3 Gordon Sim 2011-04-07 15:52:57 UTC
There is a new queue argument, qpid.auto_delete_timeout, which if specified on first declaring an auto-delete queue allows the user to specify a delay in seconds after which the deletion will actually take place. If the queue is re-declared after becoming eligible for deletion but before the delay expires, the queue will not be deleted.

This allows a queue to be configured to clean itself up after prolonged absence of the application using it while surviving more temporary absence due to failover for example.

Comment 4 Alison Young 2011-05-19 04:42:13 UTC
Change made in revision 0.1-3 
Doc-stage: http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/2.0/html-single/Programming_in_Apache_Qpid/index.html

Code snippets:
<para>
<remark>inserted for BZ683597.AJY</remark>
	The <command>create</command> command can also contain the argument <parameter>auto_delete_timeout</parameter> which if specified upon first declaring an auto-delete queue will allow you to specify a delay, in seconds, after which the deletion will take place. If the queue is re-declared after becoming eligible for deletion, but before the delay expires, then the queue will be not be deleted.
</para>

Comment 5 Frantisek Reznicek 2011-05-23 13:56:16 UTC
The feature has been documented.


-> VERIFIED