The Gateway class uses the coldfusion.eventgateway.GatewayServices class to interact with the ColdFusion event gateway services. This class has the following methods:
Signature | Description |
---|---|
GatewayServices |
Static method that returns the GatewayServices object. Gateway code can call this method at any time, if required. |
|
Sends a |
int |
Returns the current size of the ColdFusion event queue. This queue handles all messages for all gateways. |
int |
Returns the maximum size of the ColdFusion event queue, as set in the ColdFusion MX Administrator. |
Logger |
Returns a ColdFusion Logger object that the event gateway can use to log information in the eventgateway.log log file (the default) or the specified log file. The logfile attribute must be a file name without a file extension, such as mylogifile. ColdFusion MX puts the file in the ColdFusion logs directory and appends .log to the specified file name. For information on using the logger object, see Logging events and using log files. |