User Guide

Table Of Contents
1024 Chapter 42: Using Event Gateways
The ColdFusion application developer also configures an event gateway instance in the
ColdFusion MX Administrator, and possibly in a configuration file. The ColdFusion MX
Administrator configuration information specifies the listener CFC that handles the messages
from the event gateway and other standard event gateway configuration details. The
configuration file, if required, contains event gateway type-specific configuration information.
Event gateway facilities and tools
ColdFusion MX provides a number of features and tools for developing and deploying event-
handling applications, these including the following:
Standard event gateways.
Development tools and example code.
A gateway directory structure configured for use by custom event gateways and event gateway
applications. This directory also contains the example code.
An event gateway-specific log file
Three pages in the ColdFusion MX Administrator for managing event gateways.
Standard event gateways
Macromedia provides several event gateways as part of ColdFusion MX. These event gateways
support the following messaging protocols:
SMS (Short Message Service) A system designed for exchanging short, often text,
messages with wireless devices, such as mobile phones or pagers. For detailed information on
using the SMS event gateway, see Chapter 44, “Using the SMS Event Gateway,” on page 1065.
XMPP (Extensible Messaging and Presence Protocol) An open, XML-based protocol for
instant messaging. For detailed information on using the XMPP event gateway, see
Chapter 43, “Using the Instant Messaging Event Gateways,” on page 1047.
IBM Lotus Instant Messaging (commonly referred to as Lotus Sametime) The IBM
product for real-time collaboration. For detailed information on using the Lotus Sametime
event gateway, see Chapter 43, “Using the Instant Messaging Event Gateways,” on page 1047.
ColdFusion MX also provides an event gateway, the CFML asynchronous event gateway, that lets
a CFML application invoke a CFC method asynchronously. This event gateway does not follow
the model of providing a mechanism for exchanging messages with resources outside of
ColdFusion MX. Instead, it provides a one-way path for invoking CFCs when an application
does not require (indeed, cannot receive) a return value from the CFC. For detailed information
on using the CFML asynchronous event gateway, see “Using the CFML event gateway for
asynchronous CFCs” on page 1038.