[rabbitmq-discuss] Is heartbeat option working in C-client?

Alan Antonuk alan.antonuk at gmail.com
Mon Apr 8 06:52:56 BST 2013


Because thats not quite how AMQP heartbeats work (I'm sorry if some code I
posted earlier lead you astray). Heartbeats in AMQP work by having each
peer (the broker, and the client) have a timer for receiving something from
the other host (something could be useful communication like message
delivery or publishing, or in the case that a peer has nothing useful to
send, it can send a heartbeat). If the timer reaches 0 at either end, that
peer is supposed to close the socket immediately.



More information about the rabbitmq-discuss mailing list