Description
Identifies the originator of an incoming message.
Category
Event Gateway Development
Syntax
void setOriginatorID(String originatorID) |
See also
getOriginatorID, CFML CFEvent structure, CFEvent class in Developing ColdFusion Applications
Parameters
Parameter |
Description |
---|---|
originatorID |
The gateway or protocol-specific ID of the message originator. |
Example
The following code shows the routine from the example JMS gateway that handles incoming messages. It sets the originator ID to the name of the JMS topic that the gateway handles:
public void handleMessage(String msg, String topicName, String msgID) { |