What is the deafult EMS client connection time-out period?

What is the deafult EMS client connection time-out period?

book

Article ID: KB0084961

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
Description:
==========

The documentation states, “By default, a client will attempt to connect to the server 2 times with a 500 ms delay between each attempt.”.  What is the default time-out value if not specified with the setConnAttemptTimeout()  method?


Environment:
===========

All

Resolution:
=========

--------------------------
public static void setConnectAttemptTimeout(int timeout)

Sets the parameter for the maxmimum amount of time a client will wait for the connection to be established. This timeout is in milliseconds. When too many clients connect to the same server, the server may not be able to accept all connections at the same time or may run out of system resources. This parameter specifies the amount of time a client is willing to wait for a connection to be established. Internally the client library will tear down any hung connections (either because of non-availiblity of system resources or some other EMS server problem) after this timeout. NOTE: minimum value is 100 milliseconds, if value less than 100 milliseconds is specified, then during the connection establishment the minimum value of 100 milliseconds is used. Default value is 0, i.e., no timeout.
--------------------------

No timeout means the client will depend on the OS level timeout.

Issue/Introduction

What is the deafult EMS client connection time-out period?