[rabbitmq-discuss] Published message not queued after publish-ok received when connection quickly closed

Michael Klishin michael.s.klishin at gmail.com
Fri Jul 8 16:56:22 BST 2011


2011/7/8 Michael Nacos <m.nacos at gmail.com>

> which is great, but how does it fit within the consume loop? I need
> execution to block until it's safe to issue the metadata.ack call. Is this
> something I can achieve with eventmachine?



Yes. You can use EventMachine::Deferrable for that. I can't explain how
without sitting down to write a full example.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110708/8bcf46d9/attachment.htm>


More information about the rabbitmq-discuss mailing list