Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > Adobe ColdFusion

  • Print
  • + Share This
This chapter is from the book

Event Gateways

Event gateways are the means by which ColdFusion connects to external systems (to generate messages as well as to respond to inbound requests). This section is used to define and manage event gateways and their settings.

u2192.gif Event gateways are covered in detail in Chapter 70, "Working with Gateways," in Volume 3.

The Settings Page

The Setting page is used to enable or disable event gateway processing, and to define gateway settings.

Enable ColdFusion Event Gateway Services

The gateway engine must be enabled to perform any gateway processing, and can be turned off to reduce overhead if gateways aren't being used.

Event Gateway Processing Threads

By default, 10 threads are allocated for gateway processing. If you have a large number of active gateways, or very heavy gateway load, you should increase this number. Higher numbers will improve gateway performance but will also increase server resource use.

Maximum Number of Events to Queue

The maximum number of events to be queued is set to 25,000 by default. When this number is reached, no additional events will be placed in the processing queue.

SMS Test Server

ColdFusion includes an SMS test server that can be used to simulate the SMS world so as to build SMS applications. The SMS test server can be started and stopped as needed.

u2192.gif The SMS Gateway is covered in detail in Chapter 71, "Integrating with SMS and IM," in Volume 3.

The Gateway Types Page

Gateways are written in Java, and must be registered on the server before they can be instantiated. Gateway Type management is performed in this page.

To add a gateway, provide a name, a description, and the location of the Java .class file. Then click the Add button.

To edit or delete defined gateways, use the icons to the left of the Configured Gateway Type list.

The Gateway Instances Page

Gateway instances are defined in this page. One or more instances of any gateway type may be defined.

To add a gateway instance, provide a unique ID (name), select a type, provide the path to the CFC file that should process gateway requests, specify an optional configuration file, and select a startup mode. Then click the Add Gateway Instance button.

To edit or delete defined gateways, or to start and stop gateway instances, use the icons to the left of the Configured Gateway Instances list.

  • + Share This
  • 🔖 Save To Your Account