Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
OraAQ Object
Description
Applicable only for a Dequeue operation.
Usage
Q.Consumer = consumer_name
Remarks
The value is a string representing the name of the consumer. Only those messages matching the consumer name are accessed.
Example
Dim DB As OraDatabase
Dim Q as OraAQ
set Q = DB.CreateAQ("Q_MSG_MULTIPLE")
'Dequeue only message meant for ANDY
Q.consumer = "ANDY"
'other processing...
Q.Dequeue
Data Type
String