ConnectorLib Java 24.4
ConnectorLib Java SDK Programming Guide

# Run the Connector

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

## 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 Java, 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

Copyright 2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL ConnectorLib Java 24.4

Topic Title: Run the Connector