Events Asserted Locally Feed Second-Level Queries
Asserting events locally in the ESP query agent enables the output of one query to used by another query for processing and condensation.
The process can be repeated as many times as required, each query asserting an event that another query listens to. The end result is generally a smaller set of events with condensed, high value information which can be sent to a TIBCO BusinessEvents application or other external application.
The following methods of asserting events locally are available within an ESP query agent:
- The callback rule function executes an Event.assertEvent(e) after creating an event using data from the query.
- The callback rule function executes a Query.Statement.assertEvent(statementName, e) after creating an event using data from the query. This function pipes the named event to registered instances of the named query statement.
Copyright © Cloud Software Group, Inc. All rights reserved.