Setting a notification using a user exit program

You can indicate that you want to launch a user exit program when a certain type of message is generated.

Before you begin

This task is only applicable if you are connected to a datastore for the following replication engines:
  • CDC Replication Engine for Db2® Database
  • CDC Replication Engine for Db2 for z/OS® Remote Source
  • CDC Replication Engine for InfoSphere® DataStage®
  • CDC Replication Engine for Microsoft SQL Server
  • CDC Replication Engine for FlexRep
  • CDC Replication Engine for Kafka
  • CDC Replication Engine for Informix®
  • CDC Replication Engine for MariaDB Source
  • CDC Replication Engine for MySQL Source
  • CDC Replication Engine for Netezza® Technology
  • CDC Replication Engine for Oracle databases
  • CDC Replication Engine for Oracle databases (Trigger edition)
  • CDC Replication Engine for Oracle XStream
  • CDC Replication Engine for PostgreSQL
  • CDC Replication Engine for Teradata

Note that you are responsible for creating the user exit program and ensuring that it works properly.

Procedure

  1. Click Configuration > Datastores.
  2. Right-click on a datastore and select Notifications.
  3. Depending on whether you want CDC Replication to detect events on the source datastore or on the target datastore, click the Source tab or the Target tab.
  4. Select a category from Notification Categories.
  5. Select the USER HANDLER box.
  6. Enter the fully qualified Java™ class name of the user exit program in the Java Class Name box.