Configuring for application testing

The CICS® Intercept plug-in can intercept ECI, EPI and ESI requests for any remote mode API.

The CICS Intercept plug-in is configured using the cicsintercept parameter in the GATEWAY section of the configuration file.
cicsintercept=org.example.intercept.ClassName
If the plug-in fails to load then the Gateway daemon will fail to start and an error message is written to the log. If the plug-in is loaded successfully then a message is written to the information log.

Note: Statistics and Monitoring exits are not guaranteed to be accurate when a CICS Intercept plug-in is enabled. If a CICS Intercept plug-in returns a request rather than letting it continue, then the following needs to be considered:
  • A configured CICS Request exit will not be called.
  • Any configured Request Monitoring exits will only be called for RequestEntry and ResponseExit.
  • GD, CS and CSx statistics will not be updated.