AQMsg (OraAQ) Method

Applies To

OraAQ

Description

Creates an OraAQMsg for the specified options.

Arguments

[in] msgtype
An integer representing a raw or user-defined type. Optional for Raw type. Possible values:
· ORATYPE_RAW (95) 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.
[in] schema
A String representing the schema where the type is defined. Optional for Raw type.
Usage

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

Remarks

The method could be used as follows:

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

set QMsg = Q.AQMsg