Must Default Event and Default Destination be specified?

Must Default Event and Default Destination be specified?

book

Article ID: KB0089985

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Must Default Event and Default Destination be specified?

Environment:
===========
TIBCO BusinessEvents 3.0.1
All Operating Systems


Resolution:
========
It is not necessary to set both but it is generally advisable. Refer to following BusinessEvents doc:

(Section: Define the Debit Event)
What is a default destination? Events of a certain event type are often sent to the same destination. To simplify the process of sending those events, you can specify a default destination in the event type. You can send an event to the default destination of its event type using the Event.sendEvent() function. (As needed, you can send an event to a specific destination using the Event.routeTo() function which lets you specify the target destination.)

(Section: Validate the Project and Set a Default Event for a
Destination)
What is a default event? The default event configured for a destination is used to hold information transferred from an incoming message, when no event type is specified in the message. The event is then asserted into working memory, where it may trigger rules.

Issue/Introduction

Must Default Event and Default Destination be specified?