Although you can configure an instance of a Data Services Messaging 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 sent from the Flex application. You provide configuration information to the Data Services Messaging event gateway in a configuration file to do either of the following:

  • Have the Data Services Messaging event gateway send messages to Flex Enterprise Services 2 on a different computer
  • Use the Data Services Messaging event gateway with a specific Flex destination, and ignore any destination specified in the message
    The Data Services Messaging 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 Flex Enterprise Services 2 server.

The following example is a configuration file:

#
# Flex event gateway configuration
#

# This is the destination of the messages.
destination=Gateway1

# host name or IP address of the Flex Enterprise 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.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy