![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
• Rule 1 has the condition: eventA.id == eventB.id.
• Rule 2 has the condition: eventC.id != null.
1. TIBCO BusinessEvents receives eventA. Because there is no eventB in the Rete network, eventA doesn’t trigger any rules. TIBCO BusinessEvents consumes eventA.
2. TIBCO BusinessEvents receives eventB, but eventA has been consumed — there is no eventA in the Rete network. So eventB does not trigger any rules. TIBCO BusinessEvents consumes eventB.
3. To trigger Rule 1, you must configure the time to live for eventA and eventB to ensure that both events will be in the Rete network concurrently. You can trigger Rule 1 in these ways:
• If you know that eventA is sent before eventB, set the TTL for eventA to a time greater than the maximum period that can elapse between sending eventA and sending eventB.
• If you do not know the order in which eventA and eventB are sent, set the TTL for both simple events to a time greater than the maximum time between the occurrence of the two simple events.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |