SetRelMsgId Method

Applies To

OAQ

Description

Specifies that the message of this queue object is enqueued ahead of the message specified by the this message Id.

Usage

void SetRelMsgID(const char *msg_id) const throw(
OException)

Arguments

msg_id
A string specifying the message Id.
Remarks

This method is applicable only for an Enqueue operation. Possible values include:

· Any valid message identifier, specified by an array of bytes

· OAQ_NULL_MSGID (Default) : No message identifier specified

Setting this property will invoke Enqueue with the OAQ_ENQ_BEFORE option. Set this property to OAQ_NULL_MSGID to place the message on top of the queue.

Contents