Connection | Idle Timeout

Connections are subject to an idle timeout threshold. The timeout is triggered by the client when no frames
are received from the server after a threshold value is exceeded. The idle timeout is measured in milliseconds, and starts from
the time the last frame is received. If the threshold is exceeded the component sends a Close Frame to the server. If the server does not respond after 10 seconds the client will close the TCP socket.

 

The Value of the Idle Timeout can be configured in the property:

 

AMQPOptions.IdleTimeout

 

The value set in this property will be sent to the server when opening the AMQP connection. If the value is greater than zero and less than half the MaxInt value, an internal timer will be enabled to check if the idle timeout has not been exceeded.

 

Example: set an IdleTimeout value of 60 seconds

 

AMQPOptions.IdleTimeout = 60000