Event.Ext.routeToExt()

Signature

SimpleEvent routeToExt(SimpleEvent event, String destinationPath, String properties, boolean forceImmediate) throws Exception

Domain

ACTION, BUI

Description

Sends a SimpleEvent to a Destination with custom destination properties. The Destination in turn specifies the Channel where the Event will be sent.

Parameters

NameTypeDescription
eventSimpleEventThe simpleEvent to be sent.
destinationPathStringdestination in it.
propertiesStringas 2$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$13$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$14 (proper string value being 2$1$1$1$1$1$1$1$13$1$1$1$1$1$1$1$14).
forceImmediatebooleanIf true, the event will be immediately passed off to the specified destination to be sent.

Returns

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

Cautions

This method may throw an Exception. Custom channels may not support overriding of destination properties.