Applies To
OraAQ
Description
Starts a monitor thread for dequeuing the messages specified.
Arguments
[in] NotificationHandler
A IDispatch interface containing the callback method (NotifyMe).
Usage
Q.MonitorStart NotificationHandler
Remarks
NotifyMe Is the callback method of the notification object. The syntax of the
method is as follows:
void NotifyMe (OraAQMsg interface (LPDISPATCH))
By default, the message is passed into NotifyMe in Remove mode. The default
dequeue options can be overridden by setting the properties of this instance
(OraAQ).
The MonitorStart method returns ORAAQ_SUCCESS or ORAAQ_FAIL.
See Monitoring Messages.