Default Destinations and Default Events
Using default destinations and default events simplifies project configuration for many scenarios.
Incoming messages can be mapped to a default event that you specify when you configure the destination. All messages arriving at that destination are transformed into the default event type, unless they specify a different event.
A channel is configured to listen to the flow of messages on Rendezvous. The orders destination directs TIBCO BusinessEvents to map messages coming in on the subject, orders, to the new_order simple event.
You can map incoming messages to specified event types. The technique is explained in Working with Rendezvous Channels in TIBCO BusinessEvents Developer’s Guide.
Outgoing messages can be sent to a default destination. When the destination is not otherwise specified (for example in rules or rule functions), events are sent to the destination you select as their default destination.
The event credit_timeout is sent out through its default destination credit.
You can send an event to the default destination of its event type using the Event.sendEvent() or Event.replyEvent() functions.
You can send an event to a specified destination using the Event.RouteTo() function.
- Mapping Incoming Messages to Non-default Events
Incoming messages can be mapped to default evenst or to specified event types.