diff --git a/src/com/rabbitmq/client/ConnectionFactory.java b/src/com/rabbitmq/client/ConnectionFactory.java index c3f5716cff..15347b471c 100644 --- a/src/com/rabbitmq/client/ConnectionFactory.java +++ b/src/com/rabbitmq/client/ConnectionFactory.java @@ -346,8 +346,9 @@ public int getShutdownTimeout() { } /** - * Set the requested heartbeat. - * @param requestedHeartbeat the initially requested heartbeat interval, in seconds; zero for none + * Set the requested heartbeat timeout. Heartbeat frames will be sent at about 1/2 the timeout interval. + * @param requestedHeartbeat the initially requested heartbeat timeout, in seconds; zero for none + * @see RabbitMQ Heartbeats Guide */ public void setRequestedHeartbeat(int requestedHeartbeat) { this.requestedHeartbeat = requestedHeartbeat;