[rabbitmq-discuss] RabbitMQ .net client KeepAlive for RMQ behind a load balancer

joefitzgerald joeyfitz at gmail.com
Thu Nov 1 14:44:07 GMT 2012


Hey Eric,

RabbitMQ.Client.ConnectionFactory has a property called RequestedHeartbeat. 
If you set this with integer <x>, it will ensure that heartbeat messages 
are sent every <x> seconds. I wouldn't set it too low though - I'd try 
something like 30 or 60. 

Cheers,
Joe

On Tuesday, October 30, 2012 12:44:05 PM UTC-6, Eric Lin wrote:
>
> Hi, 
>
> We have HA setup for RabbitMQ and all queues are mirrored. The RMQ servers 
> are sitting behind a load balancer which has a default TCP 
> connection time-out set for 5 mins.
>
> Is there a mechanism in the rabbitmq .net client to keep the connection 
> alive?
>
> thanks,
> Eric
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121101/42bdc884/attachment.htm>


More information about the rabbitmq-discuss mailing list