Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

Part Number B10119-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

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.