Heartbeat value configuration for RabbitMQ

message-queuingqueuerabbitmq

I have RabbitMQ set up on a Debian server. I find myself in a situation currently whereby I need to change (or perhaps enable?) the heartbeat value for RabbitMQ. I have not been able to find any examples of how to do this via the /etc/rabbitmq/rabbitmq.config file. I took a guess of the following, which does not work:

[{rabbit,
    [{heartbeat, 30}]
}].

Does anybody know how to properly configure the heartbeat value for RabbitMQ? I'm using version 1.7.1.

Best Answer

As I suspected, the heartbeat is solely configured client-side. This was confirmed in #rabbitmq on Freenode IRC. The particular issues I'm having with heartbeats are related to the client-side library that I'm using.