Exit providers can supply an MQ_BEGIN_EXIT function to intercept the MQBEGIN call.
|
The MQ_BEGIN_EXIT call has the following parameters.
Exit parameter structure.
Exit context structure.
Connection handle.
Options that control the action of MQBEGIN .
Completion code.
Reason code qualifying pCompCode.
MQ_BEGIN_EXIT (&ExitParms, &ExitContext, &Hconn, &pBeginOptions, &CompCode, &Reason);
The parameters passed to the exit are declared as follows:
PMQAXP pExitParms; /* Exit parameter structure */ PMQAXC pExitContext; /* Exit context structure */ PMQHCONN pHconn; /* Connection handle */ PPMQBO ppBeginOptions; /* Options that control the action of MQBEGIN */ PMQLONG pCompCode; /* Completion code */ PMQLONG pReason; /* Reason code qualifying CompCode */