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.exception
to any value, and define anExceptionListener
to handle failover notification; see the classcom.tibco.tibjms.Tibjms
in 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.SetExceptionOnFTSwitch
in TIBCO Enterprise Message Service .NET API Reference.