Customizing the Sender Processor

Use the API provided with RepConnector to create custom senders that can route replication events to anywhere that is accessible to Java, such as e-mail applications, files, or printers.

RepConnector has built-in senders that can post replication events to Sybase-certified JMS, TIBCO, and IBM MQ messaging systems. 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. RepraCustomClient allows the RepConnector Manager to set and load a property page, but RepraClient does not.
  2. Compile the class and archive it to a .jar file.
  3. Use RepConnector Manager to add a RepConnector connection that routes events to the custom sender processor:
    • Select REPLICATION for the inbound type, and CUSTOM for the outbound type.

    • On the Plug-in Class Information page of the wizard, enter the name of the custom class as the Sender Processor Plug-in Class. If RepraCustomClient is implemented, enter the path to and the name of the property page as Sender Processor Properties File.

  4. Modify the application server environment to load the customized sender processor. See Configuring an Application Server for a Custom Sender Processor or Formatter.
  5. Shut down and restart the application server.
Related tasks
Configuring RepConnector