Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks Plug-in for Database | - |
Not Applicable | - |
Copy some related content in the documentation for review.
===================================
After inserting a message,
execute the commit_and_notify_table stored procedure with the publishing table
monitored by the adapter. For example, if the adapter is monitoring the
PUB_ORDER table:
isql -Udemo -Pdemo
SQL> insert into
ORDER_TABLE values(111,'Oak Table',499.95);
SQL> execute
commit_and_notify_table ’PUB_ORDER’;
The procedure puts a message to
the service broker queue, which is picked up by the adapter. The publisher
adapter then reads its publishing table and sends a message containing the
changed data on its configured subject.
This
example shows how to tell the adapter instance to poll a single table,
PUB_ORDER, for changes. Use the commit_and_notify stored procedure to poll all
publishing tables for
changes.
====================================