Customizing the sender processor

RepConnector has built-in senders that can post replication events to JMS, TIBCO, and IBM MQ messaging systems. It also provides an API for creating custom senders that can route replication events to anywhere that is accessible to Java, such as e-mail, files, or printers.To create a customized sender processor that runs within the RepConnector environment:

  1. Create a class that implements either com.sybase.connector.repra.RepraClient, or com.sybase.connector.repra.RepraCustomClient and include it in a jar file. RepraCustomClient allows the RepConnector Manager to set and load a property page, but RepraClient does not.

  2. Using the RepConnector Manager, add a RepConnector connection that routes events to the custom sender processor:

  3. Modify the application server environment to load the customized sender processor. See “Configuring for a custom sender or formatter” in Chapter 4, “Configuring RepConnector.”

  4. Shut down and restart the application server.