Skip Headers

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

Part Number B10118-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

AQMsg (OraAQ) Method

Applies To

OraAQ

Description

Creates an OraAQMsg for the specified options.

Arguments
Description
[in] msgtype
An integer representing a RAW or user-defined type. Optional for RAW type. Possible values:
ORATYPE_RAW (23) - Message type is RAW.
ORATYPE_OBJECT (108) - Message type is user defined type.
[in] typename
A String representing the name of the type. Optional for RAW type. Default is 'RAW'.
[in] [optional] schema
A String representing the schema where the type is defined. Default is SYS'.
Usage

Set qMsg = Q.AQMsg(msgtype, typedescriptor, schema)

Remarks

The method could be used as follows:

set QMsg = Q.AQMsg(ORATYPE_OBJECT,"MESSAGE_TYPE","SCOTT")

set QMsg = Q.AQMsg