The Event adapter provides the ability to monitor the Connect:Direct node for:
Issue select statistics to examine records in the Connect:Direct statistics database. The type of information in the output from this command includes data such as copy status and execution events. The search criteria provides flexibility in selecting information you want to retrieve. Additional parameters determine the form in which the information is presented. When using select statistics, specify your selection criteria carefully to avoid displaying excessive volumes of records. If you do not provide selection criteria, then all records for the day are retrieved.
For more information about the above commands, see the Connect:Direct System Guide.
The Event adapter also provides the capability to embed SQL statements as configuration parameter values. The statements are evaluated at runtime when the adapter is activated. The command parameters are then seeded with the results from the SQL statement. As a prerequisite before a select statement is executed, a database must be configured. The database can be configured through the relevant Event adapter configuration page.
Additionally, the Event adapter offers the ability to load any configuration parameter value from a SQL statement. This can be used to monitor processes submitted by the Service adapter.
Submitting a process using the Service adapter returns the process ID as the response. The process ID can be stored in a database.
The Event adapter can be configured to extract the process IDs from the database during its poll cycle and use the IDs as a filter for its process select command.
As a result, real-time status events for processes that have been submitted using iWay can be provided.
iWay Software |