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.

Before you begin

You must have added the CICS® Transaction Gateway Agent to your client application. See Adding the CICS Transaction Gateway agent to a client application.

Procedure

  1. Specify the following Java system property before you run the client application, to enable virtualization.
    -Dgateway.intercept.plugin=com.ibm.rational.rit.CTGRequestIntercept
  2. Optional: If you do not want the client to connect to the gateway, you must specify the following system property.
    -Dcom.ibm.greenhat.noGateway=true

    In the case where a gateway is not used, you must configure the stubs to handle all requests made by the client.