Returns the data Map that contains the message contents and other gateway-specific information.
Event Gateway Development
The event data structure, or null. This structure includes the message contents being passed by the gateway and any other gateway-specific information.
The contents of the data Map depends on the event gateway type. Typical fields include the message contents, originator ID, destination ID, and if a gateway (such as the ColdFusion SMS gateway) supports multiple commands, the command.
Note: The returned Map object has case-insensitive keys.
The following outgoingMessage method from the SocketGateway example gateway gets the message contents from the CFEvent data field of an outgoing message. If the CFEvent object does not include an OriginatorID field, it also tries to get the originator ID from the data field.
public String outgoingMessage(coldfusion.eventgateway.CFEvent cfmsg)