tibems_setExceptionOnFTSwitch

Function

Purpose

Set 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

tibems_GetExceptionOnFTEvents

Set an Exception Listener in the TIBCO Enterprise Message Service User’s Guide