Enabling virtualization in a CICS® Transaction Gateway client application

You can enable virtualization for CICS® Transaction Gateway in a Java client that uses the CICS® Transaction Gateway client API.

Procedure

  1. Add the CICS® Transaction Gateway Agent to your client application, as described in Adding the CICS Transaction Gateway Agent to a client application.
  2. Specify the following Java system property when running the client application, to enable virtualization.

    -Dgateway.intercept.plugin=com.ibm.rational.rit.CTGRequestIntercept

  3. Optional: If you also specify the following system property the client will not attempt to connect to the gateway. In such a scenario, you must implement stubs to handle all requests made by the client.

    -Dcom.ibm.greenhat.noGateway=true