You can register a callback handler for a multi data source with
WebLogic Server that controls when a multi data source with the Failover
algorithm fails over to the next data source in the data source list.
You can use callback handlers to control if or when the failover occurs
so that you can make any other system preparations before the failover,
such as priming a database or communicating with a high-availability
framework. For more information, see Controlling Multi Data Source Failover with a
To register a failover callback handler for a JDBC multi data
If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
Domain Structure tree, expand
Services > JDBC, then select
Multi Data Sources.
Summary of Multi Data Sources page, click the
multi data source name.
Configuration: General tab.
Failover Callback Handler, enter the absolute
name of the failover callback handler.
The failover callback handler must implement the
Save to save the JDBC multi data source
To activate these changes, in the Change Center of the Administration Console, click Activate Changes. Not all changes take effect immediately—some require a restart (see Use the Change Center).