[rabbitmq-discuss] .NET rabbit heartbeat to keep connections alive

Puru Belagali puru.belagali at gazprom-mt.com
Wed Mar 28 16:48:51 BST 2012

Hi All,

To add, a clarification. Should the server and client both request for heartbeat. In our case, the server(subscriber) is requesting for heartbeat via RequestedHeartbeat property , but the client is not. Will that work?


Puru Belagali | Sapient | +44 7588 620 161 | pbelagali at sapient.com<mailto:pbelagali at sapient.com>

From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Puru Belagali
Sent: 28 March 2012 14:53
To: rabbitmq-discuss at lists.rabbitmq.com; emile at rabbitmq.com; simon at rabbitmq.com
Subject: [rabbitmq-discuss] .NET rabbit heartbeat to keep connections alive

Hi All,

We are having an issue at the moment to keep connections alive between the Rabbit Client and Server across 2 different sites with a firewall/load balancer inbetween.
The Fire wall/Load balancer has an ldle timer of 1 hr after which it closes the underlying tcp connection if the channel is inactive for over an hour.
This is causing problems especially when the Client has a subscriber listening for messages from a rabbit server behind the firewall.

We added the connFactory.RequestedHeartbeat = 10; and tested this but the connection just seems to close after 10 seconds. It doesn’t seem to work. I don’t know if that’s something else needs to be enabled ?

Your help is must appreciated.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120328/24b2616d/attachment.htm>

More information about the rabbitmq-discuss mailing list