Packaging a connector for the runtime environment

Package your connector so that it can be installed in a runtime environment.

Before you begin

Create the connector factory, connectors, and connector descriptor file. For more information, see Developing a connector for the IBM Integration Bus runtime environment.

About this task

Procedure

To package the connector, complete the following steps:

  1. In Eclipse, click File > Export.
  2. In the Export wizard, expand Java, and select JAR file, then click Next.
  3. Select your Java™ project from the list of files in your workspace.
  4. Select Export all output folders for checked projects.
  5. Select the location in the file system for your JAR file.

Results

Your connector is packaged into a JAR file and saved at the specified location. The following example shows the structure of files in the JAR file, and includes an input, output, and request connector. In this example, myClient.jar is a library that is used by the connectors. You can create your own library, or acquire one from a third party.
The image shows that the JAR file contains a connector folder, a META-INF folder, a connector.xml file, and a myclient.jar file.  The connector folder contains a database folder, which contains the connector classes.

What to do next

After you package the connector, install it in a runtime environment. For example, see Installing a connector in IBM Integration Bus.