Event.Ext.sendEventExt()
Signature
SimpleEvent sendEventExt(SimpleEvent evt, boolean forceImmediate) throws Exception
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
Name | Type | Description |
evt | SimpleEvent | An SimpleEvent to send. |
forceImmediate | boolean | If true, the event will be immediately passed off to the default destination to be sent. |
Returns
Type | Description |
SimpleEvent | The 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.