Identifies the originator of an incoming message. Some gateway types also use this field for the destination of an outgoing message.
Event Gateway Development
The protocol-specific identifier of the message originator, or null.
The outgoingMessage method of the SocketGateway example gateway uses the getOriginatorID method to determine the destination of an outgoing message. This way, a listener CFC that sends a response back to the originator does not have to explicitly set a destination in the return variable. If the field is empty, (as it is in messages sent by the CFML SendGatewayMessage function) the gateway tries to get the destination from the CFevent data field.
public String outgoingMessage(coldfusion.eventgateway.CFEvent cfmsg)