Creating multiple instances of a connector is in many ways the same as creating a custom connector. You can set your system up to create and run multiple instances of a connector by following the steps below. You must:
You must create a connector directory for each connector instance. This connector directory should be named:
For Windows:
ProductDir\connectors\connectorInstance
For UNIX:
ProductDir/connectors/connectorInstance
where connectorInstance uniquely identifies the connector instance. If the connector has any connector-specific meta-objects, you must create them for each connector instance. If you save the meta-objects as a file, store the file in the connectorInstance directory.
If the business object definitions for each connector instance do not already exist within the project, you must create them.
For Windows:
ProductDir\Exchange\initialConnectorInstance
For UNIX:
ProductDir/Exchange/initialConnectorInstance
Any additional files you create should be in the appropriate connectorInstance subdirectory of ProductDir\repository or ProductDir/repository
You create a connector configuration file (CFG) for the connector instance in Connector Configurator. To do so:
To create a startup script:
dirname
You can now run both instances of the connector on your integration server at the same time.
For more information on creating custom connectors, refer to the Connector Development Guide for C++ or for Java.