Event.routeTo()
Signature
SimpleEvent routeTo(SimpleEvent event, String destinationPath, String properties) {
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
Name | Type | Description |
event | SimpleEvent | The simpleEvent to be sent. |
destinationPath | String | destination in it. |
properties | String | as 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). |
Returns
Type | Description |
SimpleEvent | The same value as the argument evt, or null if there was an error. |
Cautions
Custom channels may not support overriding of destination properties.