The JSMX_CLOSE Built-In Function is used to end the connection to the Java Service Manager. It is good programming practice to use a JSMX_CLOSE before ending your function.
The SERVICE_UNLOAD does not have to be executed if a JSMX_CLOSE is being executed.
If your function is using JSMDirect, do not use the SERVICE_UNLOAD command just issue the JSM_CLOSE to send the last command byte array response back to the HTTP client.
No | Type | Required | Description | Min | Max | Min | Max |
|---|---|---|---|---|---|---|---|
1 | A | Required | Connection Handle | 4 | 4 |
No | Type | Required | Description | Min | Max | Min | Max |
|---|---|---|---|---|---|---|---|
1 | U | Required | Status | 1 | 20 | ||
2 | U | Required | Message | 1 | Unlimited |