User exits for the CDC Replication Engine for Db2® Database

A user exit lets you define a set of actions that CDC Replication can run before or after a database event occurs on a specified table. User exits allow you to customize your environment to meet your business requirements. After compiling the user exit, you can specify the user exit in Management Console.

CDC Replication provides two types of user exits:
  • Stored procedure—This type of user exit is run directly by the database engine and is generally faster at processing database requests.
  • Java class—This type of user exit utilizes the CDC Replication API. For more information, see the API reference Javadocs.
Sample Java™ class user exits are also provided with CDC Replication. You can extend or modify these samples to suit your environment.
Note: When the Java class is modified or changed, the CDC Replication instance must be restarted to pick up the changed user exit.