![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
At runtime, event instances that are created using rules are not automatically asserted. You must explicitly assert such events, for example using the Event.assertEvent() function.TIBCO BusinessEvents includes two functions that allow you to send simple events out to another application: Event.sendEvent() and Event.routeTo().
• Event.sendEvent() automatically sends the event to its default destination.
• Event.routeTo takes a destination as an argument, ignoring the event’s default destination.With routeTo you can direct an event to a destination on a different channel from the event’s default destination. You can also override the properties of the destination, for example, the subject.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |