Client APPLID and APPLID qualifier
Set the APPLID and APPLID qualifier for Client applications to enable transaction tracking.
There is no restriction on the characters that can be used for APPLID and APPLID qualifier, however, to ensure that the APPLID and APPLID qualifier are valid for all scenarios, use characters in the range A through Z, and 0 through 9.
Java clients
Set the fully qualified APPLID for Java™ clients in one of the following ways:
- For JEE applications, set the Applid and ApplidQualifier properties in the resource adapter custom properties to specify the fully qualified APPLID.
- For Java client applications,
set the APPLID and APPLID qualifier in the Properties object for the
JavaGateway class as follows:
- APPLID
- CTG_APPLID
- APPLID qualifier
- CTG_APPLIDQUALIFIER
- Alternatively, for existing applications that you do not want
to recompile, you can set JVM properties using the following system
properties:
- APPLID
- CTG_APPLID
- APPLID qualifier
- CTG_APPLIDQUALIFIER
If the APPLID or APPLID qualifier is set using a JVM property and using a Properties object passed to the JavaGateway, the JVM property value is used.java -DCTG_APPLID=myapplid -DCTG_APPLIDQUALIFIER=applqual my.ctg.application
ECI 2 clients
For more information see Establishing a connection to a Gateway daemon.
.NET Framework-based clients
For more information see GatewayConnection class.