The MQGetAcknowledgeMode function passes back the acknowledgement mode of the specified session.
MQGetAcknowledgemode(const MQSessionHandle sessionHandle MQAckMode * ackMode); |
MQStatus. See the MQStatusIsError() function for more information.
The handle to the session whose acknowledgement mode you want to determine.
Output parameter for the ackMode. The ackMode returned can be one of four enumeration values. See Acknowledge Modes for information about these values.
If you want to change the acknowledge mode, you need to create another session with the desired mode.