The configuration of the request monitoring exits for the Gateway classes uses a JVM property, or if using a resource adapter, a custom property.
JVM property set | Custom property set | Exits loaded from: |
---|---|---|
No | No | None |
Yes | No | JVM property |
No | Yes | Custom property |
Yes | Yes | Custom property |
-DrequestExits=fully_qualified_class_name
java -DrequestExits=com.ibm.ctg.samples.requestexit.BasicMonitor com.ibm.ctg.samples.eci.EciB1
You can define multiple exits by separating them with a comma:
-DrequestExits=first_exit_name,second_exit_name
java -DrequestExits=com.ibm.ctg.samples.requestexit.BasicMonitor,com.ibm.ctg.samples.requestexit.ThreadedMonitor
com.ibm.ctg.samples.eci.EciB1