Although 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:
Property |
Description |
---|---|
destination |
A hard-coded destination. If you specify this value, any destination information in the message is ignored. |
host |
The host name or IP address of the LiveCycle Data Services ES server. Omit the host name if you are running LiveCycle Data Services ES as part of ColdFusion. |
The following example is a configuration file:
# # Data Management event gateway configuration # # This is the destination where messages are sent. destination=myDestination # Hostname 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.