# 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 an `ExceptionListener` to handle failover notification; see the class `com.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 method `Tibems.SetExceptionOnFTSwitch` in TIBCO Enterprise Message Service .NET API Reference.

Copyright © Cloud Software Group, Inc. All rights reserved.