Manually editing a configuration file
If you are not using Software AG Designer to develop your Apama application, you need to manually copy the correct template files to your development environment. The Apama installation provides template files to use as the basis for creating the IAF configuration file to start the ADBC adapter. The templates are located in the adapters\config directory of the Apama installation. The following templates are available:
ADBC-Sim.xml.dist — Use this configuration file template for accessing a Sim data source.
ADBC-ODBC.xml.dist — Use this configuration file template for accessing an ODBC data source.
ADBC-JDBC.xml.dist — Use this configuration file template for accessing a JDBC data source.
To create the configuration file for starting the ADBC adapter:
1. Copy the appropriate template to your project.
2. Edit the name attributes of the various transport properties as necessary.
When you start the IAF with the modified configuration file using the syntax iaf path_to_modified_config_file, it automatically includes the appropriate common configuration files shown below.
ADBC-static.xml — Common event mapping for the ADI adapter events.
ADBC-static-codecs.xml — The codecs to use (currently null-codec).
ADBC-application.xml — Application specific event mappings.
ADBC-namedQuery-Sim.xml — The named query definitions for a Sim data source.
or
ADDC-namedQuery-SQL.xml — The named query definitions for ODBC and JDBC data sources.
ADBC-mapping_instance_name.xml — Contains the mappings defined by the user using the Visual Event Mapper.