![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
tibems_status tibemsMsg_Acknowledge(tibemsMsg message );
message has usage pointer.
Acknowledge this message (but for the actual behavior of this call, see the Remarks below).
• In TIBEMS_CLIENT_ACKNOWLEDGE mode, this call acknowledges all messages that the program has consumed within the session. (This behavior complies with the JMS specification.)
• In TIBEMS_EXPLICIT_CLIENT_ACKNOWLEDGE mode, this call acknowledges only the individual message. (This mode and behavior are proprietary extensions, specific to TIBCO EMS.)
• In TIBEMS_EXPLICIT_CLIENT_DUPS_OK_ACKNOWLEDGE mode, this call lazily acknowledges only the individual message. Lazy means that the provider client library can delay transferring the acknowledgement to the server until a convenient time; meanwhile the server might redeliver the message. (This mode and behavior are proprietary extensions, specific to TIBCO EMS.)
• In all other modes, this call has no effect. In particular, modes that specify transactions or implicit acknowledgement do not require the consuming program to call this function. However, calling it does not produce an exception. (This behavior complies with the JMS specification.)Two events mark a message as consumed—that is, eligible for acknowledgment using this function:
• Just before the provider calls an tibemsMsgCallback function, it marks the message argument as consumed.It is illegal to call this function after closing the session, the connection or the consumer through which the message arrived.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |