<div>Hi guys,</div><div><br></div><div>Bunny 0.9 is fantastic so I really don't want to be a pain with this: please do let me know if it is not the right place or too early to discuss these potential issues.</div><div><br></div><div>I just tried pre7 - it works better on basic_get, thank you! Yet:</div><div><br></div><div>- the&nbsp;automatic_recovery_with_client_named_queues.rb example does not work anymore (if you stop the server, then start it again, messages are not received anymore - it used to work on pre6).</div><div>- in the basic_get case, when the server is down, q.pop still hangs indefinitely. Is it expected and it should be handled by the client?</div><div><br></div><div>Thanks</div><div>PJ</div><div><br></div><br>On Wednesday, January 16, 2013 11:05:36 AM UTC, PJ wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div>Hi Michael,</div><div><br></div><div>First of all: this is a fantastic addition. Thank you so much.</div><div><br></div><div>Just one thing though: is network failure recovery supposed to work with q.pop as well? The reason I am asking is I can't get it to work. I modified slightly one of your examples:</div><div><br></div><div><div>require 'bunny'</div><div><br></div><div>broker = Bunny.new</div><div>broker.start</div><div>channel = broker.create_channel</div><div>exchange = channel.default_exchange</div><div><br></div><div>loop do</div><div>&nbsp; sleep 2</div><div>&nbsp; puts "Tick"</div><div>&nbsp;&nbsp;</div><div>&nbsp; q = channel.queue("foo")</div><div>&nbsp; delivery_info, properties, payload = q.pop</div><div>&nbsp;&nbsp;</div><div>end</div></div><div><br></div><div><br></div>If you run the script and stop the RabbitMQ server while the script is executing, the script hangs on q.pop.<div>If you then restart the server, the script will pass the q.pop once, then hang again and nothing happens anymore.</div><div><br></div><div>Is this expected?</div><div><br></div><div>Thanks a lot</div><div>PJ</div><div><br></div><div><br></div><div>On Monday, January 14, 2013 5:48:15 PM UTC, Michael Klishin wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">TL;DR</div><div style="font-family:arial,sans-serif;font-size:13px">------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-----------------------------</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><span style="background-color:rgb(255,255,204);font-family:arial,sans-serif;font-size:13px">Bunny</span><span style="font-family:arial,sans-serif;font-size:13px">&nbsp;</span><span style="background-color:rgb(255,255,204);font-family:arial,sans-serif;font-size:13px">0.9</span><span style="font-family:arial,sans-serif;font-size:13px">.0.pre6 is released to&nbsp;</span><a href="http://rubygems.org/" style="font-family:arial,sans-serif;font-size:13px" target="_blank">rubygems.org</a><span style="font-family:arial,sans-serif;font-size:13px">&nbsp;[1].</span><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">This release includes one major feature and a few bug fixes. It is 100% backwards</div><div style="font-family:arial,sans-serif;font-size:13px">compatible.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">The major feature is automatic network failure recovery. This includes recovery of</div><div style="font-family:arial,sans-serif;font-size:13px">

exchanges, queues, bindings and consumers that were declared/added on the</div><div style="font-family:arial,sans-serif;font-size:13px">recovered Bunny connection.</div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">In addition, documentation guides on error handling and recovery is now up online:</div><div style="font-family:arial,sans-serif;font-size:13px"><a href="http://rubybunny.info/articles/exchanges.html" target="_blank">http://rubybunny.info/<wbr>articles/error_handling.html</a><br>

</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Change log</div><div style="font-family:arial,sans-serif;font-size:13px">------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-----------------------------</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Change log is available on GitHub:</div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px"><a href="https://github.com/ruby-amqp/bunny/blob/master/ChangeLog.md#changes-between-bunny-090pre4-and-090pre5" target="_blank">https://github.com/ruby-amqp/<span style="background-color:rgb(255,255,204);color:rgb(34,34,34)">b<wbr>unny</span>/blob/master/ChangeLog.md#<wbr>changes-between-<span style="background-color:rgb(255,255,204);color:rgb(34,34,34)">bunny</span>-090pre5-<wbr>and-090pre</a>6<br>

</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Plans for 0.9.0 Final</div>

<div style="font-family:arial,sans-serif;font-size:13px">------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-----------------------------<br></div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">There is still a few things we need to do before Bunny 0.9 can be declared complete:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div>

<div style="font-family:arial,sans-serif;font-size:13px">&nbsp;* Make network failure recovery configurable</div><div style="font-family:arial,sans-serif;font-size:13px">&nbsp;* Bring back TLS support</div><div style="font-family:arial,sans-serif;font-size:13px">

&nbsp;* Add logging</div><div style="font-family:arial,sans-serif;font-size:13px">&nbsp;* API reference documentation</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">

Changes are, the next release will be RC1.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div><br></div><div>1.&nbsp;<a href="https://rubygems.org/gems/bunny/versions/0.9.0.pre5" target="_blank">https://rubygems.org/gems/<span style="background-color:rgb(255,255,204);color:rgb(34,34,34)">b<wbr>unny</span>/versions/<span style="background-color:rgb(255,255,204);color:rgb(34,34,34)">0.9</span>.0.pre</a>6</div>

</div>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/<wbr>michaelklishin</a><br><a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/<wbr>michaelklishin</a><br>


</div>
</blockquote></div></blockquote>