Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
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'. |
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