Configuring CDC in eXtreme Scale with a subscription-level user exit

You can configure the WebSphere® eXtreme Scale change data capture (CDC) adapter in the IBM InfoSphere Change Data Capture Management Console.

Before you begin

Log in to the InfoSphere Change Data Capture Management Console. For more details, see the InfoSphere CDC documentation about logging in to the management console.

About this task

For an example configuration of a user exit file, see the wxsUserExitConfig.xsd file.

Procedure

  1. Click Configuration > Subscriptions.
  2. Select the subscription.
  3. Right-click and select User Exits.
  4. Select Java Class from the User Exit Type list.
  5. Specify com.ibm.websphere.xs.datacapture.InfoSphereUserExit as the class name.

    Ensure the following JAR files are added to the CLASSPATH environment variable before the InfoSphere CDC agent is started:

    • The ogclient.jar (Required)
    • The j2ee.jar file. (Optional) Only required if the key or value meta data use the @Column annotation to describe the table mappings.
    • Application JAR file that contains user classes
  6. Provide the location to the WebSphere eXtreme Scale user exit XML configuration file.
    Remember: The adapter first attempts to load the file from the parent class loader, CLASSPATH, and then attempts to resolve the file from the file system.
  7. Specify the events and actions that must be passed to the adapter.
    Remember: Only After events are supported by the adapter. However, you can specify which After events are passed to the adapter by InfoSphere Data Replication CDC.