Skip to content

Commit af9316a

Browse files
author
Simon MacMullen
committed
Merge pull request rabbitmq#28 from rabbitmq/bug26607
Clarify that ConnectionFactory#setRequestedHeartbeat sets a timeout
2 parents 0b782d8 + eca4a6b commit af9316a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/com/rabbitmq/client/ConnectionFactory.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,9 @@ public int getShutdownTimeout() {
343343
}
344344

345345
/**
346-
* Set the requested heartbeat.
347-
* @param requestedHeartbeat the initially requested heartbeat interval, in seconds; zero for none
346+
* Set the requested heartbeat timeout. Heartbeat frames will be sent at about 1/2 the timeout interval.
347+
* @param requestedHeartbeat the initially requested heartbeat timeout, in seconds; zero for none
348+
* @see <a href="http://rabbitmq.com/heartbeats.html">RabbitMQ Heartbeats Guide</a>
348349
*/
349350
public void setRequestedHeartbeat(int requestedHeartbeat) {
350351
this.requestedHeartbeat = requestedHeartbeat;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy