Determining Event Priority
The priority of an event, if it is set within the Rational® Software Architect (RSA) model of an FTM application and extracted to the database, can be determined in
the IBM® App Connect
Enterprise run time by looking up the event in the FTM
cache:
CALL Cache.RetrieveEventMetadata(cCacheId, cLocalInstanceId, rEventsCache);
DECLARE nEventPriority INTEGER rEventsCache.PRIORITY;
The
variable nEventPriority can then be used in the calculation of the weighted event
priority.