Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## setFaultTolerant procedure

> Enables or disables Fault Tolerance for the session.

> #### Syntax

>     PROCEDURE setFaultTolerant.
>     DEFINE INPUT PARAMETER enable AS LOGICAL.

> #### Applies to

> Session objects (ClientConnect and ServerConnect only).

> #### Notes

> - Only applicable for Fault Tolerant connections.

> - A value of `TRUE` will enable fault-tolerance and a value of `FALSE` will disable it. If default is `FALSE`, fault-tolerance is not enabled.

> - This procedure must be called before the beginSession procedure is called.

> - You cannot change fault-tolerance for an active session. You must stop and restart the session for any changes to have an effect.

> - The application must also call the setConnectionURLs procedure to provide a list of broker URLs to be connected to when the current connection fails. SonicMQ will connect to the URLs in the order they are listed, starting at the beginning of the list.

> - The setSequential procedure may be called to connect to the urls in the order they are listed starting at a random place in the list. See the SonicMQ documentation for details.

> #### See also

> setFaultTolerant procedure, getFaultTolerant function, isFaultTolerant function, createChangeStateConsumer procedure, setFaultTolerantReconnectTimeout procedure, getFaultTolerantReconnectTimeout function, setInitialConnectionTimeout procedure, getInitialConnectionTimeout function, setClientTransactionBufferSize procedure, getClientTransactionBufferSize function

> For more information, see the "Fault tolerance" section and the "Fault tolerance" section.

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