Using event gateways

Because event gateways provide a generalized asynchronous messaging mechanism, you can use them with many kinds of event or messaging resources. For example, ColdFusion MX includes gateways (either product quality, or lighter weight example gateways) for communicating between ColdFusion applications and the following types of resources:

Event gateways are not limited to sending or receiving information using communications protocols. For example, ColdFusion MX includes an example event gateway that monitors changes to a directory and invokes a CFC method whenever the directory changes. ColdFusion MX also includes an event gateway that lets a CFML application "call" a CFC asynchronously and continue processing without getting a response from the CFC.

Just as you can create event gateways that serve many different event or messaging based technologies, you can write many kinds of applications that use them. Just a few examples of possible gateway uses include the following.

Server to client push examples

Client to server examples

Server to serve examples


View comments in LiveDocs