These samples show basic and extended use of the CICS® Transaction Gateway Java™ request monitoring exits.
Java BasicMonitor request monitoring exit sample
This sample shows the basic use of the CICS Transaction Gateway request monitoring
exits. The sample program writes the data available at each exit point
to STDOUT or to a file specified by the Java property com.ibm.ctg.samples.requestexit.out.
Java ThreadedMonitor request monitoring exit sample
This sample extends the BasicMonitor sample program. The
sample uses a background thread to reduce the overhead for each monitored
request. The sample program writes the data available at each exit
point to STDOUT or to a file specified by the Java property com.ibm.ctg.samples.requestexit.out.
Errors are logged to STDERR or to a file specified by the Java property com.ibm.ctg.samples.requestexit.err.