Run the Connector

After you have collected the required files and configured the connector, you can run the connector by starting connectorLibCpp.exe.

Install the Connector as a Service

You can install the connector as a service using the -install command line option. For example:

connectorLibCpp.exe -install

View Log Messages

Any log messages produced by your connector implementation appear in the appropriate log file. For example, in the HelloWorld connector introduced in Implement a New Connector, a message is logged by the synchronize action. The default configuration schedules a single synchronize task called MYTASK1, so when you run the connector the following message is logged to logs\synchronize.log:

	30-Normal: MYTASK1: Hello World

Set Custom Configuration Parameters

The connector automatically reads configuration parameters from the appropriate location. If you are using the example HelloWorld connector from Implement a New Connector, you can modify the Target parameter in the configuration file. For example:

        [MyTask1]
        Target=Earth

When you run the connector again, the following message is logged:

	30-Normal: MYTASK1: Hello Earth

When you start the synchronize action using an ACI command, you can override the values of configuration parameters. This is handled automatically by ConnectorLib C++, so if you use the following action:

	http://localhost:1234/action=fetch&fetchaction=synchronize&Target=Everybody

...the following message is logged:

	30-Normal: MYTASK1: Hello Everybody