Event.Ext.sendEventExt()

Signature

SimpleEvent sendEventExt(SimpleEvent evt, boolean forceImmediate) throws Exception

Domain

ACTION, BUI

Description

Sends the SimpleEvent evt to the configured default channel and destination for this SimpleEvent. This method will fail if the SimpleEvent has not been configured with any default channel and destination information.

Parameters

NameTypeDescription
evtSimpleEventAn SimpleEvent to send.
forceImmediatebooleanIf true, the event will be immediately passed off to the default destination to be sent.

Returns

TypeDescription
SimpleEventThe same value as the argument evt, or null if the event was not sent.

Cautions

This method will fail if the SimpleEvent has not been configured with any default channel and destination information. This method may throw an Exception.