See the $REPRA_HOME/sample/client/MyMsgGenerator.java file for an example for the customized AE message generator class.
Compiling the customized message generator
Change to the location of your message generator:
cd /work/custom
Use the Java compiler to define the -classpath parameter with the required libraries to compile the customized class. For example:
mkdir customclasses<enter>
/usr/jdk141/bin/javac -classpath .:/opt/sybase/EAServer/repra/lib/repraconn.jar <enter>
-d customclasses com/mycompany/MyMsgGenerator.java
If the compilation command finishes without any error messages, go to the customclasses directory.
Verify that MyMsgGenerator.class exists in com/mycompany.
If MyMsgGenerator.class is not in com\mycompany, or if the compilation finished with errors, review the design.