Customizing the sender processor

NoteYou must indicate that you will be using a customized sender processor when you configure the RepConnector connection. See Chapter 6, “Configuring RepConnector,” for more information about configuring RepConnector connections.

To create a customized sender processor that runs within the RepConnector environment:

  1. Create a sender processor for your application by implementing the com.sybase.connector.repra.RepraClient interface. If you want to use RepConnector to load a property page, implement com.sybase.connector.repra.RepraCustomClient.

  2. Use the RepConnector Manager Add Connection Wizard to create a RepConnector connection that routes events to the custom sender processor.

  3. On the first wizard page, select Replication for the Inbound type when you configure the new connection, and select Custom for the outbound type.

  4. On the fifth wizard page, enter the name of your custom class. If your custom class loads a property page, enter the full path as well as the file name of the property page.

  5. Modify the system environment to add the customized sender processor.

    You must define the full path of the jar file or the directory containing the customized sender processor:

    For detailed steps, see “Building the runtime environment for the customized formatter processor”.

  6. Shut down and restart the application server. You must restart the application server before accessing the customized sender processor.