Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

Feedback

SetPriority Method

Applies To

OAQMsg

Description

Specifies the priority of the message.

Usage

void SetPriority(int priority) const throw(
OException)

Arguments

priority
An integer specifying the priority of the message.
Remarks

A smaller number indicates higher priority. Possible values are:

· Any integer including negative numbers.

· OAQ_MSG_PRIORITY_NORMAL (Default): 0

· OAQ_MSG_PRIORITY_HIGH : -10

· OAQ_MSG_PRIORITY_LOW : 10

This property can be set while enqueuing and can then be used for priority-based dequeuing.


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents