Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

GetPriority Method

Applies To

OAQMsg

Description

Gets the priority of the message.

Usage

int GetPriority(void) const throw(OException)

Arguments

none

Remarks

A smaller number indicates higher priority. Possible return 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 © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback