How do I send an RV message from adbPreCommit function of the User Callout Library?

How do I send an RV message from adbPreCommit function of the User Callout Library?

book

Article ID: KB0088446

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Database -
Not Applicable -

Description

Resolution:
You construct a publisher through MComponentEnumerator &ltMPublisher> and set up the publisher in repo to publish in RV format instead of AE format. Then call the publisher to publish whatever you want.

You can use the MApp* pointer to get the component registry
by calling mapp-&gtgetComponentRegistry() as the parameter.
You can get the pointer to MPublisher as following:

MPublisher* pMPublisher =
MPublisher::downCast(getComponentByName("publisher"));

Issue/Introduction

How do I send an RV message from adbPreCommit function of the User Callout Library?