|
From DatabaseIn order to configure the From Database source component described in the Channel Source Components section of the manual, you must specify the properties described in the table below: ![]()
Ordering For Multiple Outbound MessagesYou can easily order for multiple outbound messages in Iguana. This feature in Iguana does not affect existing VMDs or the user's existing database schema. The Order Messages By Column can be configured to globally order messages across the entire set of tables in your database. All of the outbound tables must have:
Separate SELECT Queries on All Message TablesEvery time Iguana polls for a message from the database, it will execute a select query on each message that was defined in the vmd file. The select query will utilize the MIN() or MAX() function (for ascending or descending, respectively) to retrieve just one row from each table (no limits required). When Iguana iterates through all the retrieved values, it will know which message has the global minimum/maximum MESSAGE_ID (or other order by column). For example:
Therefore, Iguana sends MessageB[1]. After sending, Iguana re-executes the queries and sends MessageA[2]. Re-executing the queries will handle situations where you decide to rearrange the order of messages of, say, MessageA[2] and MessageC[3] before MessageB[1] is finished. If all tables are empty, Iguana will wait for the poll time (as it does now) before re-executing the queries. Updating the Data TablesIf you change the table definitions in the mapping VMD file, or you add a new message definition to the VMD file, you must update the source data tables in the database that you have specified for this channel. There are two ways to update these data tables:
|