ColdFusion 9.0 Resources |
Configuring a Data Management event gatewayAlthough you can configure an instance of a Data Management event gateway by creating a configuration file and specifying that file as the configuration file when you create an instance of the event gateway, you can also provide the configuration information in the message. You provide configuration information to the Data Management event gateway in a configuration file to do either of the following:
The Data Management event gateway configuration file is a simple Java properties file that contains the following properties:
The following example is a configuration file: # # Data Management event gateway configuration # # This is the destination where messages are sent. destination=myDestination # Host name or IP address of the LiveCycle Data Services ES Server host=127.0.0.1 If you create a configuration file, save it in the cf_root/gateway/config/ directory, with the extension .cfg. Note: A single instance of the Data Management event
gateway can send messages to any destination that is registered
with the ColdFusion Data Service Adapter. However, if the destination
is configured in the Data Management event gateway configuration
file, the destination in the message is ignored.
|