Code sample

Refer to the $REPRA_HOME/sample/client/MyMsgGenerator.java (UNIX) or %REPRA_HOME%\sample\client\MyMsgGenerator.java (Windows) file for an example for the customized AE message generator class where $REPRA_HOME and %REPRA_HOME% are the directories of the RepConnector installation.

StepsCompiling the customized message generator

  1. Change directory to the location of your message generator.

  2. Use the Java compiler to define the -classpath parameter with the required libraries to compile the customized class. For example:

StepsVerifying the compilation

  1. If the compilation command finishes without any error messages, go to the customclasses directory.

  2. Verify that MyMsgGenerator.class is under com\mycompany (Windows) or com/mycompany (for UNIX).

  3. If the MyMsgGenerator.class is not under com\mycompany or the compilation finished with errors, review the design or see your SDK designer/developer.