Skip to content

Commit 33eefc5

Browse files
Add a note per rabbitmq#163
1 parent 7936b29 commit 33eefc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/com/rabbitmq/client/ConnectionFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,8 @@ public int getShutdownTimeout() {
377377

378378
/**
379379
* Set the requested heartbeat timeout. Heartbeat frames will be sent at about 1/2 the timeout interval.
380+
* If server heartbeat timeout is configured to a non-zero value, this method can only be used
381+
* to lower the value; otherwise any value provided by the client will be used.
380382
* @param requestedHeartbeat the initially requested heartbeat timeout, in seconds; zero for none
381383
* @see <a href="http://rabbitmq.com/heartbeats.html">RabbitMQ Heartbeats Guide</a>
382384
*/

0 commit comments

Comments
 (0)