Whatever message this page gives is out now! Go check it out!

CFML CFEvent structure

Last update:
May 18, 2026
The CFML listener CFC methods receive messages in the form of a CFEvent structure that corresponds to the CFEvent class in  Event gateway elements  in the Developing ColdFusion Applications that gateway developers use. This structure has the following fields. Some of the fields might not be used by all gateways. All fields contain text or numeric values except the Data field, which contains a structure.
FieldDescription
GatewayID
The event gateway that sent the event or will handle the outgoing message. The value is the ID of an event gateway instance configured on the ColdFusion Administrator Gateways page. If the application calls the SendGatewayMessage function to respond to the event gateway, it uses this ID as the function's first parameter.
Data
A structure containing the event data, including the message. The Data structure contents depend on the event gateway type. This field corresponds to the SendGatewayMessage function's second parameter.
OriginatorID
The originator of the message. The value depends on the protocol or event gateway type. Some event gateways might require this value in response messages to identify the destination of the response. Identifies the sender of the message.
GatewayType
The type of event gateway, such as SMS. An application that can process messages from multiple event gateway types can use this field. This value is the gateway type name that is specified by the event Gateway class. It is not necessarily the same as the gateway type name in the ColdFusion Administrator.
CFCPath
The location of the listener CFC. The listener CFC does not need to use this field.
CFCMethod
The listener method that ColdFusion invokes to process the event. The listener CFC does not need to use this field.
CFCTimeout
The time-out, in seconds, for the listener CFC to process the event request. The listener CFC does not need to use this field.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page