Copyright © TIBCO Software Inc. All Rights Reserved

> tibems_setExceptionOnFTSwitch
> Function
> Purpose
> Sets whether exception listener is called on fault-tolerant switchover.
> C Declaration
> tibems_status tibems_setExceptionOnFTSwitch(
> tibems_bool callExceptionListener);
> COBOL Call
> CALL "tibems_setExceptionOnFTSwitch"
> USING BY VALUE callExceptionListener,
> RETURNING tibems-status
> END-CALL.
> Remarks
> This setting determines exception behavior when the client successfully switches to a different server (fault-tolerant failover).
> Parameters

> Parameter | Description
> callExceptionListener | When true, the connection’s ExceptionListener catches an exception, which contains the name of the new server. When false, fault-tolerant failover does not trigger an exception in the client.

> See Also
> tibems_GetExceptionOnFTSwitch on page 385
> tibems_GetExceptionOnFTEvents on page 384
> Setting an Exception Listener in the TIBCO Enterprise Message Service User’s Guide

Copyright © TIBCO Software Inc. All Rights Reserved