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:
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.
Using the RepConnector Manager, 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 wizard page, enter the name of the custom class in the Sender Processor Plug-in Class. If RepraCustomClient is implemented, enter the path to and the name of the property page in Sender Processor Properties File.
Modify the application server environment to load the customized sender processor. See “Configuring for a custom sender or formatter” in Chapter 4, “Configuring RepConnector.”
Shut down and restart the application server.