Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## setReconnectTimeout procedure

> Sets the maximum amount of time in minutes that the client will attempt to reconnect to a broker.

> #### Syntax

>     PROCEDURE setReconnectTimeout.
>     DEFINE INPUT PARAMETER timout AS INTEGER.

> #### Applies to

> Session objects (ClientConnect and ServerConnect only).

> #### Notes

> - Only applicable for Client Persistence.

> - The default is `0` meaning there is no timeout.

> - If the value is set, an asynchronous error will be sent to the 4GL application after the timeout has expired and no further reconnects will be attempted.

> - Errors for this call will occur after the call to the beginSession procedure.

> #### See also

> createRejectedMessageConsumer procedure, setClientPersistence procedure, getClientPersistence function, setLocalStoreDirectory procedure, getLocalStoreDirectory function, setLocalStoreSize procedure, getLocalStoreSize function, setLocalStoreWait procedure, getLocalStoreWait function, setReconnectTimeout procedure, getReconnectTimeout function, setReconnectInterval procedure, getReconnectInterval function

> For more information, see the "Client persistence" section and the "Client persistence" section.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095