Quick Links: |
#include <bmqa_message.h>
Public Member Functions | |
MessageConfirmationCookie () | |
MessageConfirmationCookie (const QueueId &queueId, const bmqt::MessageGUID &messageGUID) | |
const QueueId & | queueId () const |
const bmqt::MessageGUID & | messageGUID () const |
Cookie for async message confirmation.
bmqa::MessageConfirmationCookie::MessageConfirmationCookie | ( | ) |
Create an unset instance of this class.
bmqa::MessageConfirmationCookie::MessageConfirmationCookie | ( | const QueueId & | queueId, | |
const bmqt::MessageGUID & | messageGUID | |||
) |
Create an instance with the specified queueId
and messageGUID
. Users should not use that constructor directly, but rather load the message cookie from an existing bmqa::Message
with the bmqa::Message::confirmationCookie
accessor.
const QueueId& bmqa::MessageConfirmationCookie::queueId | ( | ) | const |
Return the queue ID of the message with which this confirmation cookie is associated.
const bmqt::MessageGUID& bmqa::MessageConfirmationCookie::messageGUID | ( | ) | const |
Return message GUID of the message with which this confirmation cookie is associated.