Windows

You can modify the startup for a connector by editing the following to use the connector startup options listed in Table 21:

Note:
The -c, -n, and -s options are required to start the connector. If you use the shortcut to start the connector, the shortcut properties must include these options in the target field. Similarly, if you start the connector using the start_connector.bat or start_connName.bat, it must include these options.

Table 21. Connector startup options for Windows.

Option Description
-c configFile
The full path name of the configuration file to be used during startup. This option is required.
-f pollFrequency
The amount of time between polling actions. Possible values for pollFrequency are:
  • The number of milliseconds between polling actions.
  • key: Causes the connector to poll only when you type the letter p in the connector's Command Prompt window. Enter the word in lowercase.
  • no: Causes the connector not to poll. Enter the word in lowercase.

The default is 10000.

-j
Specifies that the connector is written in Java. This option is optional if you specify -l className.
-l className 
Specifies the name of the global class. This option is required for Java connectors.
-n connectorName 
Specifies the name of the connector to start. This option is required.
-s brokerName 
Specifies the integration broker name. This option is required.
-t
Note:
The Installer has included (or omitted) the -t option in the shortcut as required for the connector. If you start up a connector from the command line, the value you specify for -t must be the same as the -t value specified in the shortcut.
Turns on the connector property, SingleThreadAppCalls. This property guarantees that all calls the connector framework makes to the application-specific connector code are with one event-triggered flow. The default value is false. This property should not be changed from its shipped value. Each connector has the appropriate setting for this option, depending on its architecture.
-x connectorProps 
Passes application-specific connector properties to the connector. Use the format prop_name=value for each value you enter.

Copyright IBM Corp. 1997, 2003