OO4O and AQ Callback - Help

Am using AQ (8.1.6). Looking for information on how to implement the callback functionality in VB 6.0...Documentation says that this possible but have found few examples...Have everything else working fine..
Ron Music

You have to implement a COM interface in your application (or your own OLE object) that exposes the NotifyMe interface as described in the docs. You then use the MonitorStart method to have the object called asynchronously. If memory serves, the interface was:
void NotifyMe(LPDISPATCH)
and the LPDISPATCH pointer was a reference to an OraAQMsg object which contained the message payload.
Suppose you created your own COM object that exposed this interface and called it MyNotify. You then do something like this:
Dim MyQ as OraAQ
Dim Notifier as MyNotify
Dim DB as OraDatabase
Dim OraS as Object
. 'Connect to the RDBMS and init the session (code ommitted for brevity)
Set MyQ = DB.CreateAQ("TEST")
Set Notifier = new MyNotify
MyQ.MonitorStart(Notifer)
Then your object will have the NotifyMe method invoked as messages are dequeued.

Similar Messages

Maybe you are looking for

  • My iPad won't let me download recently purchased apps. It says that I have never bought them.

    Hi, The other day I upgraded to the latest ios7, and after I did that, the App Store says that I have never purchased or downloaded any apps, and that I have never deleted any. This is annoying because I have spent a fair bit of money on games which

  • Test Scripts

    Some one please let me  know what a test script is.....and how it is written...I need to write it for the HR modules....This is in context with support stacks being applied to SBX. ...and for testing that....Please also let me know if it is the respo

  • Transfer pictures from iphone6 to laptop

    Hi, I recently bought iphone 6. I am trying to transfer photos from my iphone to my laptop but i am not able to. Any help would be appreciated Thanks

  • Data used on phone

    Does the phone continue to use up data even when powered off? How do I close out of aps like Facebook and Words with Friends?

  • Will OSB supports using schema definition at runtime ?

    Here is the SOAP response defined in the WSDL. <s:element name="XXRatesResponse">      <s:complexType>           <s:sequence>                <s:element minOccurs="0" maxOccurs="1" name="XXRatesResult">                     <s:complexType>