[rabbitmq-discuss] Reconnection strategies in Pika

Gavin M. Roy gmr at myyearbook.com
Tue Jul 26 17:13:29 BST 2011



On Tuesday, July 26, 2011 at 11:57 AM, Marek Majkowski wrote:

> On Tue, Jul 26, 2011 at 16:08, Gavin M. Roy <gmr at myyearbook.com (mailto:gmr at myyearbook.com)> wrote:
> > The SimpleReconnectionStrategy implementation was to on disconnect, have a
> > incrementally delayed attempt to reconnect to the broker. I believe there's
> > a ticket with this being broken in 0.9.5, I need to confirm that's the case.
> 
> Stupid question: what happens after reconnection succeeds, is
> the user informed in any way? What happens to things
> waiting on basic_consume and such?
There is a callback mechanism in place the user can subscribe to, but it must be treated as a new connection, there is nothing automated but the reconnection. 

No channels recreated, etc. The behavior of it should mirror the 0.5.2 behavior as of right now. Future direction hasn't been contemplated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110726/a6891521/attachment.htm>


More information about the rabbitmq-discuss mailing list