
244 Use ColdFusion Event Gateway Adapter
Set up your development environment
The ColdFusion Event Gateway Adapter lets you create applications in which Flex Data
Services and Macromedia® ColdFusion® MX 7.0.2 communicate. Flex Data Services includes
the ColdFusion Event Gateway Adapter. ColdFusion MX 7.0.2 includes the Flex Messaging
event gateway.
To complete this tutorial, you must have the following products installed:
■ Flex Data Services
■ ColdFusion MX 7.0.2
Start Flex and ColdFusion
To set up your development environment, you must start Flex Data Services and ColdFusion.
This tutorial assumes that both Flex Data Services and ColdFusion are running on localhost
(127.0.0.1) on your local computer. Because of the way in which the Remote Method
Invocation (RMI) registry is created and maintained, Adobe recommends that you start Flex
Data Services, and then start ColdFusion.
Enable the ColdFusion Event Gateway Adapter
The messaging-config.xml file contains information about adapters and destinations,
including network and server properties and channels. Generally, the file contains the
following:
- service
- adapters
- adapter-definition
- destination
- properties
- network
- server
- channels
NOTE
The example ColdFusion application uses the cfmail tag. You must set up an e-mail
server in the ColdFusion MX Administrator before testing the application.
TIP
To become familiar with the messaging-config.xml file, view it in an XML editor so that
you can expand and collapse sections.
Comentarios a estos manuales