Client Notification
Client applications can receive notification when shared state failover occurs.
- Java
To receive notification, Java client programs set the system property
tibco.tibjms.ft.switch.exceptionto any value, and define anExceptionListenerto handle failover notification; see the classcom.tibco.tibjms.Tibjmsin TIBCO Enterprise Message Service Java API Reference. - C
To receive notification, C client programs call
tibems_setExceptionOnFTSwitch(TIBEMS_TRUE)and register the exception callback in order to receive the notification that the reconnection was successful. - C#
To receive notification, .NET client programs call
Tibems.SetExceptionOnFTSwitch(true), and define an exception listener to handle failover notification; see the methodTibems.SetExceptionOnFTSwitchin TIBCO Enterprise Message Service .NET API Reference.