<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>I�m just going through the tutorials and have a question on Tutorial #3 (Publish/Subscribe). The tutorial states as follows:</div><div><br></div><blockquote type="cite"><p style="clear: left; color: rgb(85, 85, 85); font-family: Verdana, sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(255, 255, 255); position: static; z-index: auto;">Secondly, once we disconnect the consumer the queue should be deleted. There's an <span class="code " style="color: rgb(51, 51, 51); font-family: 'Courier New', Courier, monospace; font-size: small; white-space: nowrap;">exclusive </span>flag for that:</p><div class="highlight" style="color: rgb(85, 85, 85); font-family: Verdana, sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(255, 255, 255);"><pre style="background-color: rgb(238, 238, 238); padding: 5px 15px; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; position: static; z-index: auto;"><span class="n" style="color: rgb(0, 128, 128);">result</span> <span class="o" style="font-weight: bold;">=</span> <span class="n" style="color: rgb(0, 128, 128);">channel</span><span class="o" style="font-weight: bold;">.</span><span class="n" style="color: rgb(0, 128, 128);">queue_declare</span><span class="p">(</span><span class="n" style="color: rgb(0, 128, 128);">exclusive</span><span class="o" style="font-weight: bold;">=</span><span class="bp" style="color: rgb(153, 153, 153);">True</span><span class="p">)</span></pre></div></blockquote><div><br></div><div>The description of what the <b>exclusive</b> flag does not seem consistent with the Pika documentation from:</div><div><br></div><div><a href="https://pika.readthedocs.org/en/latest/modules/adapters/blocking.html">https://pika.readthedocs.org/en/latest/modules/adapters/blocking.html</a></div><div><br></div><div>For <b>queue_declare</b> states as follows:</div><div><br></div><div><blockquote type="cite"><ul class="first last simple" style="box-sizing: border-box; margin-top: 0px; margin-right: 0px; margin-left: 0px; padding: 0px; list-style-position: initial; list-style-image: initial; line-height: 24px; color: rgb(64, 64, 64); font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 14px; background-color: rgb(252, 252, 252); margin-bottom: 12px !important;"><li style="box-sizing: border-box; list-style: disc; margin-left: 24px;"><strong style="box-sizing: border-box;">exclusive</strong> (<a class="reference external" href="http://docs.python.org/2/objects.inv/library/functions.html#bool" title="(in Python v2.7)" style="box-sizing: border-box; color: rgb(155, 89, 182); text-decoration: none;"><em style="box-sizing: border-box;">bool</em></a>) � Only allow access by the current connection</li><li style="box-sizing: border-box; list-style: disc; margin-left: 24px;"><strong style="box-sizing: border-box;">auto_delete</strong> (<a class="reference external" href="http://docs.python.org/2/objects.inv/library/functions.html#bool" title="(in Python v2.7)" style="box-sizing: border-box; color: rgb(155, 89, 182); text-decoration: none;"><em style="box-sizing: border-box;">bool</em></a>) � Delete after consumer cancels or disconnects</li></ul></blockquote><div>Should tutorial #3 be updated to use <b>auto_delete=True</b> or should the description for the <b>exclusive</b> flag be fixed?</div></div><div><br></div><div>Thx, Sven</div></body></html>