[rabbitmq-discuss] Reconnection strategies in Pika

Alex Grönholm alex.gronholm at nextday.fi
Tue Jul 26 22:06:16 BST 2011


26.07.2011 19:13, Gavin M. Roy kirjoitti:
>
> 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.
I just need reconnection to work, but as of 0.9.5 it doesn't. Would be 
nice if it did. The callbacks will handle channel creation etc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110727/e4d597e2/attachment.htm>


More information about the rabbitmq-discuss mailing list